/* styles.css */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
}
.btn {
	margin: 0 5px;
	padding: 4px 15px;
	background-color: #f2f2f2;
	border: 1px solid #ccc;
	cursor: pointer;
	border-radius: 4px;
	outline: none;
}
.btn-large {
	padding: 6px 18px;
}
.btn:hover {
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05));
}
.btn.btn-info {
	background-color: #2196f3;
	color: white;
	border: 1px solid #2196f3;
}
.btn.btn-warning {
	background-color: #ff9800;
	color: white;
	border: 1px solid #ff9800;
}
.btn.btn-danger {
	background-color: #f44336;
	color: white;
	border: 1px solid #f44336;
}
.btn.btn-success {
	background-color: #4caf50;
	color: white;
	border: 1px solid #4caf50;
}
.label {
	margin: 0 5px;
	padding: 3px 10px;
	font-size: 12px;
	color: #666;
	background-color: #f2f2f2;
	border: 1px solid #ccc;
	border-radius: 15px;
}
.label.label-info {
	background-color: #2196f3;
	color: white;
	border: 1px solid #2196f3;
}
.label.label-warning {
	background-color: #ff9800;
	color: white;
	border: 1px solid #ff9800;
}
.label.label-danger {
	background-color: #f44336;
	color: white;
	border: 1px solid #f44336;
}
.label.label-success {
	background-color: #4caf50;
	color: white;
	border: 1px solid #4caf50;
}
.hide,
.hidden {
	display: none;
}
.form-control {
	padding: 8px 12px;
	outline: none;
	border: 1px solid #ddd;
	border-radius: 6px;
	transition: border-color 0.3s ease;
}

.form-control:focus {
	border-color: #2196f3;
	box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}
.box {
	margin: 20px 20px;
	position: relative;
}
.box_header {
	margin-bottom: 10px;
	display: flex;
	justify-content: space-between;
	background-color: #f9f9f9;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
}
.box_header .project_info {
	display: flex;
	justify-content: left;
	align-items: center;
	width: 60%;
}
.box_header .box_title {
	font-size: 18px;
	font-weight: bolder;
	color: #333;
	margin-left: 20px;
}
.box_header .separator {
	margin: 0 20px;
}

.box_header dl {
	display: flex;
	align-items: center;
	margin: 0 10px;
}
.box_header dl dt {
	font-weight: bolder;
	color: #333;
}
.box_header dl dd {
	margin-left: 10px;
	color: #555;
}
.search-box .form-select {
	width: 100px;
}
.box_body {
	margin-top: 10px;
}
table {
	width: 100%;
	border-collapse: collapse;
}
th,
td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: center;
}
th {
	background-color: #f2f2f2;
}
tr:hover {
	background-color: #f5f5f5;
}
.edit-mode .editable .show {
	display: none;
}
.edit-mode .editable .edit {
	width: 100%;
	display: flex;
	justify-content: center;
}
.edit-mode .editable .form-control {
	width: 80%;
	max-width: 300px;
	padding: 5px 10px;
	border: 1px solid #4caf50;
}
.pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0px 0;
}
.pagination .pagination-links {
	display: flex;
}
.pagination .page {
	height: 40px;
	min-width: 40px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: black;
	border: 1px solid #ddd;
	margin: 0 4px;
	border-radius: 4px;
	background-color: #eee;
}
.pagination .pagination-links .page.page-link {
	background-color: white;
	cursor: pointer;
}
.pagination .pagination-links .page.page-link:hover {
	background-color: #ddd;
}
.pagination .pagination-links .page.page-link.active {
	background-color: #2196f3;
	color: white;
	border: 1px solid #2196f3;
}
.pagination .pagination-info {
	font-size: 14px;
	text-align: center;
	color: #3c3c3c;
}
.modal {
}
.modal {
	position: fixed;
	opacity: 0;
	transition: all 0.3s ease;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.2);
}

.modal.active {
	opacity: 1;
	display: flex;
}
.modal .modal-dialog {
	background: white;
	padding: 0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	width: 600px;
	overflow: hidden;
}
.modal .close-btn {
	font-size: 20px;
	color: #666;
	cursor: pointer;
}
.modal .close-btn:hover {
	color: #333;
	transform: scale(1.1);
}

.modal-content {
	display: flex;
	flex-direction: column;
}

.modal-header {
	padding: 16px 24px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header .modal-title {
	font-weight: 600;
	font-size: 18px;
	margin: 0;
}

.modal-body {
	padding: 20px 24px;
}

.modal-footer {
	padding: 16px 24px;
	border-top: 1px solid #eee;
	display: flex;
	gap: 12px;
	justify-content: center;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 15px 0;
	width: 100%;
}
.form-group > div {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.form-group label {
	min-width: 80px;
}
.form-group .form-control {
	flex: 1;
}
.form-group textarea.form-control {
	height: 60px;
	resize: vertical;
}
.form-group textarea.form-control.large {
	height: 80px;
}
.form-group .button-group {
	justify-content: center;
}
.box_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.user-info {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.username {
    font-size: 16px;
    color: #333;
}

.user-menu {
    position: absolute;
	min-width: 150px;
    text-align: center;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	padding: 10px 0;
    display: none;
    z-index: 1000;
}

.user-menu.show {
    display: block;
}

.menu-item {
    padding: 8px 20px;
    color: #333;
    cursor: pointer;
}

.menu-item:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
}

.menu-item:hover {
    background-color: #f8f9fa;
}
.box_header .project_info {
	display: flex;
	justify-content: left;
	align-items: center;
	width: 60%;
}
.box_header .box_title {
	font-size: 18px;
	font-weight: bolder;
	color: #333;
	margin-left: 20px;
}
.box_header .separator {
	margin: 0 20px;
}

.box_header dl {
	display: flex;
	align-items: center;
	margin: 0 10px;
}
.box_header dl dt {
	font-weight: bolder;
	color: #333;
}
.box_header dl dd {
	margin-left: 10px;
	color: #555;
}
.search-box .form-select {
	width: 100px;
}
.box_body {
	margin-top: 10px;
}
table {
	width: 100%;
	border-collapse: collapse;
}
th,
td {
	border: 1px solid #ddd;
	padding: 8px;
	text-align: center;
}
th {
	background-color: #f2f2f2;
}
tr:hover {
	background-color: #f5f5f5;
}
.edit-mode .editable .show {
	display: none;
}
.edit-mode .editable .edit {
	width: 100%;
	display: flex;
	justify-content: center;
}
.edit-mode .editable .form-control {
	width: 80%;
	max-width: 300px;
	padding: 5px 10px;
	border: 1px solid #4caf50;
}
.pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0px 0;
}
.pagination .pagination-links {
	display: flex;
}
.pagination .page {
	height: 40px;
	min-width: 40px;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: black;
	border: 1px solid #ddd;
	margin: 0 4px;
	border-radius: 4px;
	background-color: #eee;
}
.pagination .pagination-links .page.page-link {
	background-color: white;
	cursor: pointer;
}
.pagination .pagination-links .page.page-link:hover {
	background-color: #ddd;
}
.pagination .pagination-links .page.page-link.active {
	background-color: #2196f3;
	color: white;
	border: 1px solid #2196f3;
}
.pagination .pagination-info {
	font-size: 14px;
	text-align: center;
	color: #3c3c3c;
}
.modal {
}
.modal {
	position: fixed;
	opacity: 0;
	transition: all 0.3s ease;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.2);
}

.modal.active {
	opacity: 1;
	display: flex;
}
.modal .modal-dialog {
	background: white;
	padding: 0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	width: 600px;
	overflow: hidden;
}
.modal .close-btn {
	font-size: 20px;
	color: #666;
	cursor: pointer;
}
.modal .close-btn:hover {
	color: #333;
	transform: scale(1.1);
}

.modal-content {
	display: flex;
	flex-direction: column;
}

.modal-header {
	padding: 16px 24px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header .modal-title {
	font-weight: 600;
	font-size: 18px;
	margin: 0;
}

.modal-body {
	padding: 20px 24px;
}

.modal-footer {
	padding: 16px 24px;
	border-top: 1px solid #eee;
	display: flex;
	gap: 12px;
	justify-content: center;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 15px 0;
	width: 100%;
}
.form-group > div {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.form-group label {
	min-width: 80px;
}
.form-group .form-control {
	flex: 1;
}
.form-group textarea.form-control {
	height: 60px;
	resize: vertical;
}
.form-group textarea.form-control.large {
	height: 80px;
}
.form-group .button-group {
	justify-content: center;
}
