body{
	margin: 0;
	font-family: font1;
	width: 100%;
	height: 100%;
}
.form
{
	/*float: left;*/
	/*position: fixed;*/
	/*left: 50%;*/
	/*top: 50%;*/
	/*transform: translate(-50%, -50%);*/
}
.body
{
	width: 400px;
	border-radius:10px;
	padding: 1em 0; 
	text-align: center;
}
.header
{
	border:1px solid #323232;
	height:50px;
	border-radius: 10px 10px 0px 0px;
	border-bottom: 0px;
	text-align: center;
	background-color: grey;
}
.form input
{
	display: block;
	margin:2px auto;
}
.form-register
{
	display: none;
}
.menu-group .body
{
	width: 600px;
	border:1px solid black;
	border-radius: 0px;
	border-bottom: 0px;
	padding:20px 10px;
}
.menu-group .footer
{
	border:1px solid black;
	padding: 20px 10px;
	border-top: 0px;
}
input::placeholder,input
{
	text-align: center;
}
.modal-body th,.modal-body td
{
	text-align: center;
}
.container-content
{
	margin-top: 100px;
}
.container-header
{
	padding-top: 10px;
	border-radius: 10px 10px 0px 0px;
	text-align: center;
	background-color: grey;
	width: 200px;
	height: 50px;
}
.container .container-body
{
	padding-top: 20px;
	width: 100%;
	border: 1px solid black;
	border-top: 0px;
	border-radius: 0px 0px 10px 10px;
}
.input-group
{
	margin-top:10px; 
}
.input-group input
{
	width: 80%;
	margin-left: 10%;
}
.input-group textarea
{
	resize: none;
	width: 80%;
	margin-left: 10%;
	height: 100px;
	text-align: center;
}
.logout
{
	cursor: pointer;
}
.box-profile
{
	width: 400px;
	height: 400px;
	border:1px solid black;
	margin:30px auto;
	border-radius: 20px;
	text-align: center;
}
.box-profile label
{
	display: block;
}
.cursor{
	cursor: pointer;
}
#myImg {
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
}
#myImg:hover {opacity: 0.7;}
/* The Modal (background) */
.modal_img {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/* Modal Content (image) */
.modal_img-content {
	margin: auto;
	display: block;
	width: 80%;
	max-width: 700px;
}
/* Add Animation */
.modal_img-content {  
	-webkit-animation-name: zoom;
	-webkit-animation-duration: 0.6s;
	animation-name: zoom;
	animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
	from {-webkit-transform:scale(0)} 
	to {-webkit-transform:scale(1)}
}
@keyframes zoom {
	from {transform:scale(0)} 
	to {transform:scale(1)}
}
/* The Close Button */
.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	transition: 0.3s;
}
.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
	cursor: pointer;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
	.modal-content {
		width: 100%;
	}
}
.dataTables_paginate {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

/* Modern Pagination Styles */
.pagination-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px 0;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pagination {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 5px;
}

.pagination li {
	margin: 0;
}

.pagination a,
.pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	text-decoration: none;
	color: #495057;
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.pagination a:hover {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.pagination .active {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
	box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

.pagination .disabled {
	color: #6c757d;
	background: #f8f9fa;
	border-color: #dee2e6;
	cursor: not-allowed;
	opacity: 0.6;
}

.pagination .disabled:hover {
	background: #f8f9fa;
	color: #6c757d;
	border-color: #dee2e6;
	transform: none;
	box-shadow: none;
}

.pagination-info {
	margin-left: 20px;
	color: #6c757d;
	font-size: 14px;
	font-weight: 500;
}

.pagination-nav {
	display: flex;
	gap: 10px;
	margin-right: 20px;
}

.pagination-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #fff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	color: #495057;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pagination-nav a:hover {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.pagination-nav .disabled {
	color: #6c757d;
	background: #f8f9fa;
	border-color: #dee2e6;
	cursor: not-allowed;
	opacity: 0.6;
}

.pagination-nav .disabled:hover {
	background: #f8f9fa;
	color: #6c757d;
	border-color: #dee2e6;
	transform: none;
	box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
	.pagination-container {
		flex-direction: column;
		gap: 15px;
		padding: 15px;
	}
	
	.pagination {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.pagination a,
	.pagination span {
		min-width: 35px;
		height: 35px;
		font-size: 14px;
	}
	
	.pagination-nav {
		margin-right: 0;
		margin-bottom: 10px;
	}
	
	.pagination-info {
		margin-left: 0;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.pagination a,
	.pagination span {
		min-width: 30px;
		height: 30px;
		padding: 0 8px;
		font-size: 12px;
	}
	
	.pagination-nav a {
		width: 35px;
		height: 35px;
	}
}

/* Loading and Animation Effects */
.pagination-container.loading {
	opacity: 0.7;
	pointer-events: none;
}

.pagination-container.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid #007bff;
	border-top: 2px solid transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.hover-effect {
	transform: scale(1.05) !important;
	box-shadow: 0 6px 12px rgba(0,123,255,0.4) !important;
}

/* Focus styles for accessibility */
.pagination a:focus,
.pagination-nav a:focus {
	outline: 2px solid #007bff;
	outline-offset: 2px;
}

/* Print styles */
@media print {
	.pagination-container {
		display: none;
	}
}
/*span.info, .success, .warning, .error {
	border: 1px solid;
	margin: 5px;
	padding:5px 10px 5px 40px;
	background-repeat: no-repeat;
	background-position: 10px center;
	border-radius: 3px;
	}*/
/*span{
	display: block;
	}*/
/*span.warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url('../Images/warning.png');
}*/

.login-wrapper {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: black;
	/* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
	padding: 20px;
}

.login-wrapper ~ .sidebar,
.login-wrapper ~ .sidebar-toggle,
.login-wrapper ~ .sidebar-overlay {
	display: none !important;
}

body:has(.login-wrapper) .sidebar,
body:has(.login-wrapper) .sidebar-toggle,
body:has(.login-wrapper) .sidebar-overlay {
	display: none !important;
}

body:has(.login-wrapper) {
	padding-left: 0 !important;
}

body.login-page {
	padding-left: 0 !important;
	overflow: auto !important;
}

body.login-page .sidebar,
body.login-page .sidebar-toggle,
body.login-page .sidebar-overlay {
	display: none !important;
}

.login-container {
	width: 100%;
	max-width: 450px;
	perspective: 1000px;
}

.login-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 40px;
	animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.login-header {
	text-align: center;
	margin-bottom: 35px;
}

.login-logo {
	width: 120px;
	height: auto;
	margin-bottom: 20px;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.login-title {
	font-size: 28px;
	font-weight: 700;
	color: #2d3748;
	margin-bottom: 8px;
}

.login-subtitle {
	font-size: 14px;
	color: #718096;
	margin: 0;
}

.login-body {
	width: 100%;
}

.input-wrapper {
	position: relative;
	margin-bottom: 20px;
}

.input-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	z-index: 1;
}

.modern-input {
	width: 100%;
	padding: 14px 16px 14px 50px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-size: 15px;
	transition: all 0.3s ease;
	background: #f7fafc;
	color: #2d3748;
	box-sizing: border-box;
}

.modern-input:focus {
	outline: none;
	border-color: #667eea;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
	transform: translateY(-2px);
}

.modern-input::placeholder {
	color: #a0aec0;
	text-align: left;
}

.remember-forgot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.remember-me {
	display: flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
}

.checkbox-input {
	width: 18px;
	height: 18px;
	margin: 0;
	margin-right: 8px;
	cursor: pointer;
	accent-color: #667eea;
}

.checkbox-label {
	font-size: 14px;
	color: #4a5568;
	cursor: pointer;
}

.modern-btn {
	width: 100%;
	padding: 14px 24px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 12px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
	margin-bottom: 20px;
}

.modern-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.modern-btn:active {
	transform: translateY(0);
}

.btn-icon {
	font-style: normal;
	font-size: 20px;
	transition: transform 0.3s ease;
}

.modern-btn:hover .btn-icon {
	transform: translateX(4px);
}

.error-message {
	color: #f56565;
	font-size: 14px;
	text-align: center;
	margin: -10px 0 15px 0;
	min-height: 20px;
}

.login-footer {
	text-align: center;
	padding-top: 10px;
	border-top: 1px solid #e2e8f0;
}

.login-footer p {
	margin: 0;
	font-size: 14px;
	color: #718096;
}

.link-primary {
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.link-primary:hover {
	color: #764ba2;
	text-decoration: none;
}

@media (max-width: 768px) {
	.login-card {
		padding: 30px 25px;
	}
	
	.login-title {
		font-size: 24px;
	}
	
	.login-logo {
		width: 100px;
	}
}

@media (max-width: 480px) {
	.login-wrapper {
		padding: 15px;
	}
	
	.login-card {
		padding: 25px 20px;
	}
	
	.modern-input {
		padding: 12px 14px 12px 45px;
		font-size: 14px;
	}
	
	.input-icon {
		left: 14px;
		font-size: 16px;
	}
}

.sidebar-toggle {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 1100;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 12px;
	color: white;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sidebar-toggle:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.sidebar-toggle:active {
	transform: scale(0.95);
}

.sidebar {
	position: fixed;
	top: 0;
	left: -280px;
	width: 280px;
	height: 100vh;
	background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
	box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
	transition: left 0.3s ease;
	z-index: 1050;
	overflow-y: auto;
	overflow-x: hidden;
}

.sidebar.active {
	left: 0;
}

.sidebar::-webkit-scrollbar {
	width: 6px;
}

.sidebar::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.3);
}

.sidebar-header {
	padding: 25px 20px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.2);
}

.sidebar-logo {
	width: 80px;
	height: auto;
	margin-bottom: 12px;
	filter: brightness(1.2);
}

.sidebar-brand {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	letter-spacing: 0.5px;
}

.sidebar-menu {
	padding: 20px 0;
}

.menu-item {
	margin-bottom: 5px;
}

.menu-link {
	display: flex;
	align-items: center;
	padding: 14px 20px;
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
}

.menu-link:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	text-decoration: none;
}

.menu-link::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 3px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.menu-link:hover::before {
	opacity: 1;
}

.menu-icon {
	font-size: 18px;
	min-width: 30px;
	color: #667eea;
}

.menu-text {
	flex: 1;
	margin-left: 12px;
	font-size: 15px;
	font-weight: 500;
}

.menu-arrow {
	font-size: 12px;
	transition: transform 0.3s ease;
}

.menu-arrow.rotate {
	transform: rotate(180deg);
}

.submenu {
	background: rgba(0, 0, 0, 0.2);
	margin: 0;
}

.submenu-link {
	display: flex;
	align-items: center;
	padding: 12px 20px 12px 55px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 14px;
	position: relative;
}

.submenu-link i {
	margin-right: 12px;
	font-size: 14px;
	color: #667eea;
	min-width: 20px;
}

.submenu-link:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #fff;
	text-decoration: none;
	padding-left: 60px;
}

.submenu-link.active {
	background: rgba(102, 126, 234, 0.2);
	color: #fff;
	border-left: 3px solid #667eea;
}

.sidebar-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 20px;
	background: rgba(0, 0, 0, 0.3);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile {
	display: flex;
	align-items: center;
	gap: 12px;
}

.user-avatar {
	font-size: 40px;
	color: #667eea;
}

.user-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.user-name {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.user-name:hover {
	color: #667eea;
	text-decoration: none;
}

.logout-link {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.logout-link:hover {
	color: #ff6b6b;
	text-decoration: none;
}

.logout-link i {
	font-size: 14px;
}

.sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1040;
}

.sidebar-overlay.active {
	opacity: 1;
	visibility: visible;
}

body.sidebar-open {
	overflow: hidden;
}

@media (min-width: 992px) {
	.sidebar {
		left: 0;
	}
	
	.sidebar-toggle {
		display: none;
	}
	
	.sidebar-overlay {
		display: none;
	}
	
	body {
		padding-left: 280px;
	}
	
	.container {
		max-width: 100%;
	}
}

@media (max-width: 991px) {
	.sidebar {
		width: 280px;
		left: -280px;
	}
	
	.sidebar.active {
		left: 0;
	}
}

@media (max-width: 576px) {
	.sidebar {
		width: 260px;
		left: -260px;
	}
	
	.sidebar-header {
		padding: 20px 15px;
	}
	
	.sidebar-logo {
		width: 60px;
	}
	
	.sidebar-brand {
		font-size: 16px;
	}
	
	.menu-text {
		font-size: 14px;
	}
}