/* ============================================
   MODERN UI CUSTOMIZATION
   CBT Application - dr. Zulfadli, Sp.OG
   ============================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Base & Typography --- */
body, .wrapper, .content-wrapper, .main-sidebar, .sidebar-menu li a {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --- Scrollbar --- */
.scroll-y {
	height: 500px !important;
	max-height: 500px;
	overflow-y: auto;
}
.scroll-x {
	overflow-x: auto;
}

/* --- Textarea --- */
textarea {
	vertical-align: top;
	transition: height 0.2s ease;
}

/* --- Float Alert --- */
.floatalert {
	position: fixed;
	top: 65px;
	left: 50%;
	transform: translateX(-50%);
	width: 360px;
	z-index: 9999;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* --- Content Wrapper --- */
.content-wrapper {
	background: linear-gradient(135deg, #4a7a9f 0%, #6a9cbd 100%) !important;
}
.skin-blue .content-wrapper {
	background: linear-gradient(135deg, #4a7a9f 0%, #6a9cbd 100%) !important;
}
.content-wrapper .container {
	width: 95% !important;
}

/* --- Main Header (Admin) --- */
.skin-blue .main-header .navbar {
	background: linear-gradient(135deg, #3d6a8a 0%, #5a90b5 100%) !important;
	box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.skin-blue .main-header .logo {
	background: linear-gradient(135deg, #345d7d 0%, #3d6a8a 100%) !important;
	font-weight: 600 !important;
	letter-spacing: 0.3px;
}
.skin-blue .main-header .logo:hover {
	background: linear-gradient(135deg, #3d6a8a 0%, #5a90b5 100%) !important;
}

/* --- Sidebar --- */
.skin-blue .main-sidebar, 
.skin-blue .left-side {
	background: #3a5f80 !important;
}
.skin-blue .sidebar-menu > li > a {
	border-radius: 8px;
	margin: 4px 10px;
	padding: 10px 14px;
	transition: all 0.25s ease;
	color: #b0b8c8 !important;
	font-size: 13.5px;
	font-weight: 500;
}
.skin-blue .sidebar-menu > li > a:hover {
	background: rgba(255,255,255,0.08) !important;
	color: #ffffff !important;
	transform: translateX(3px);
}
.skin-blue .sidebar-menu > li.active > a,
.skin-blue .sidebar-menu > li > a:active {
	background: linear-gradient(135deg, #5a90b5, #70a8cc) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(90,144,181,0.4);
	border-left: none !important;
}
.skin-blue .sidebar-menu > li > a > .fa {
	width: 22px;
	text-align: center;
	font-size: 15px;
}
.sidebar-menu > li.header {
	color: #636b7d !important;
	background: transparent !important;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	padding: 12px 20px 6px;
}
.sidebar-menu > li.header#end-sidebar {
	font-size: 9px;
	letter-spacing: 0.3px;
	line-height: 1.6;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: unset !important;
	text-transform: none;
	padding: 10px 10px;
}
.skin-blue .sidebar a {
	color: #b0b8c8 !important;
}
.skin-blue .sidebar a:hover {
	color: #fff !important;
}
.user-panel {
	border-bottom: 1px solid rgba(255,255,255,0.08) !important;
	padding: 16px !important;
}
.user-panel > .info > p {
	font-weight: 600;
	font-size: 14px;
}

/* --- Cards / Boxes --- */
.box {
	border-radius: 12px !important;
	border: none !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06) !important;
	overflow: visible !important;
	transition: all 0.3s ease;
}
.box:hover {
	box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.1) !important;
	transform: translateY(-1px);
}
.box-solid {
	border: none !important;
}
.box-solid .box-header {
	background: #f8f9fc !important;
	border-bottom: 1px solid #e8ecf1;
	padding: 14px 18px !important;
}
.box-solid .box-header .box-title {
	font-weight: 600 !important;
	font-size: 14px;
	color: #2d3748;
}
.box .box-header {
	border-bottom: 1px solid #f0f2f5;
	padding: 14px 18px;
}
.box .box-header .box-title {
	font-weight: 600;
	font-size: 14px;
	color: #2d3748;
}
.box-header.with-border {
	border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
.box .box-body {
	padding: 18px;
}
.box .box-footer {
	background: #f8f9fc;
	border-top: 1px solid #e8ecf1;
	padding: 12px 18px;
}
.box.box-solid > .box-header .btn-primary:hover {
	background: #357ca5 !important;
}
.box.box-solid > .box-header .btn-info:hover {
	background: #00a7d0 !important;
}
.box.box-solid > .box-header .btn-default:hover {
	background: #b5bbc8 !important;
}

/* Colored box headers — gradient */
.box.box-primary .box-header {
	background: linear-gradient(135deg, #3498db, #2980b9) !important;
}
.box.box-success .box-header,
.box.box-success.box-solid .box-header {
	background: linear-gradient(135deg, #27ae60, #219a52) !important;
	border-bottom: none !important;
}
.box.box-success.box-solid .box-header .box-title {
	color: #fff !important;
}
.box.box-danger .box-header,
.box.box-danger.box-solid .box-header {
	background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
	border-bottom: none !important;
}
.box.box-danger.box-solid .box-header .box-title {
	color: #fff !important;
}
.box.box-warning .box-header,
.box.box-warning.box-solid .box-header {
	background: linear-gradient(135deg, #f39c12, #e67e22) !important;
	border-bottom: none !important;
}
.box.box-warning.box-solid .box-header .box-title {
	color: #fff !important;
}

/* --- Info Boxes (Dashboard stats) --- */
.info-box {
	border-radius: 12px !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06) !important;
	min-height: 85px;
	transition: all 0.3s ease;
	border: none !important;
	overflow: hidden;
}
.info-box:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 8px 28px rgba(0,0,0,0.12) !important;
}
.info-box-icon {
	border-radius: 12px 0 0 12px !important;
	width: 75px;
	line-height: 85px;
	font-size: 28px;
}
.info-box-icon.bg-yellow {
	background: linear-gradient(135deg, #f1c40f, #f39c12) !important;
}
.info-box-icon.bg-aqua {
	background: linear-gradient(135deg, #00d2ff, #3a7bd5) !important;
}
.info-box-icon.bg-green {
	background: linear-gradient(135deg, #56ab2f, #a8e063) !important;
}
.info-box-icon.bg-red {
	background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}
.info-box-icon.bg-purple {
	background: linear-gradient(135deg, #8e44ad, #9b59b6) !important;
}
.info-box-content {
	padding: 12px 14px;
}
.info-box-text {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	color: #7c8798;
}
.info-box-number {
	font-size: 24px;
	font-weight: 700;
	color: #2d3748;
}

/* --- Buttons --- */
.btn {
	border-radius: 8px !important;
	font-weight: 500;
	letter-spacing: 0.3px;
	transition: all 0.25s ease;
	border: none !important;
	font-size: 13px;
	padding: 8px 18px;
}
.btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn:active {
	transform: translateY(0);
}
.btn-primary {
	background: linear-gradient(135deg, #3498db, #2980b9) !important;
}
.btn-primary:hover {
	background: linear-gradient(135deg, #2980b9, #2471a3) !important;
}
.btn-success {
	background: linear-gradient(135deg, #27ae60, #219a52) !important;
}
.btn-success:hover {
	background: linear-gradient(135deg, #219a52, #1e8449) !important;
}
.btn-danger {
	background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}
.btn-danger:hover {
	background: linear-gradient(135deg, #c0392b, #a93226) !important;
}
.btn-warning {
	background: linear-gradient(135deg, #f39c12, #e67e22) !important;
}
.btn-info {
	background: linear-gradient(135deg, #00b4d8, #0077b6) !important;
}
.btn-flat {
	border-radius: 8px !important;
}

/* --- Form Controls --- */
.form-control {
	border-radius: 8px !important;
	border: 1.5px solid #dde2e8 !important;
	padding: 8px 14px;
	font-size: 13.5px;
	transition: all 0.25s ease;
	box-shadow: none !important;
	height: auto;
	min-height: 38px;
}
.form-control:focus {
	border-color: #3498db !important;
	box-shadow: 0 0 0 3px rgba(52,152,219,0.15) !important;
}
select.form-control {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 32px;
}

/* --- Tables --- */
.table > thead > tr > th {
	background: #f8f9fc;
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #5a6678;
	border-bottom: 2px solid #e8ecf1 !important;
	padding: 8px 8px;
	white-space: nowrap;
}
.table > tbody > tr > td {
	padding: 7px 8px;
	vertical-align: middle;
	border-bottom: 1px solid #f0f2f5;
	font-size: 12.5px;
	color: #3d4a5c;
}
/* Compact table variant */
.table-compact > thead > tr > th {
	padding: 6px 6px;
	font-size: 10.5px;
	letter-spacing: 0.4px;
}
.table-compact > tbody > tr > td {
	padding: 5px 6px;
	font-size: 12px;
}
.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.box-body {
	overflow: hidden;
}
.table > tbody > tr:hover > td {
	background: #f4f6fa;
}
.table-striped > tbody > tr:nth-of-type(odd) {
	background: #fafbfd;
}
.table-striped > tbody > tr:nth-of-type(odd):hover {
	background: #f0f3f8;
}

/* --- Labels / Badges --- */
.label {
	border-radius: 6px !important;
	padding: 4px 10px;
	font-weight: 500;
	font-size: 11.5px;
	letter-spacing: 0.3px;
}

/* --- Progress Bars --- */
.progress {
	border-radius: 10px !important;
	height: 12px;
	background: #e8ecf1;
	overflow: hidden;
	box-shadow: none;
}
.progress-bar {
	border-radius: 10px !important;
	line-height: 12px;
	font-size: 10px;
}

/* --- Dropdown --- */
.dropdown-menu {
	border-radius: 10px !important;
	border: none !important;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
	padding: 8px;
	margin-top: 8px;
	z-index: 10000 !important;
}
.open {
	position: relative;
	z-index: 10000 !important;
}
.btn-group.open, .dropdown.open {
	z-index: 10000 !important;
}
.dropdown-menu > li > a {
	border-radius: 6px;
	padding: 8px 14px;
	font-size: 13px;
	transition: all 0.2s ease;
}
.dropdown-menu > li > a:hover {
	background: #f0f2f5;
}
.user-header {
	border-radius: 10px 10px 0 0 !important;
}

/* --- Login Page (Student) --- */
.login-page {
	position: relative;
	background: radial-gradient(circle at 18% 20%, #ffd7a1 0%, rgba(255,215,161,0) 35%),
				radial-gradient(circle at 82% 12%, #ffb3a7 0%, rgba(255,179,167,0) 34%),
				linear-gradient(135deg, #0b1f3a 0%, #123a5a 42%, #1e5f74 100%) !important;
	background-size: 100% 100%, 100% 100%, 220% 220%;
	animation: gradientShift 14s ease infinite;
	overflow: hidden;
}
.login-page::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
						  linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 42px 42px;
	opacity: 0.22;
	pointer-events: none;
}
.login-page::after {
	content: '';
	position: fixed;
	left: -8%;
	top: 58%;
	width: 116%;
	height: 46%;
	background: linear-gradient(180deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0) 100%);
	transform: skewY(-6deg);
	pointer-events: none;
}
@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	25% { background-position: 50% 100%; }
	50% { background-position: 100% 50%; }
	75% { background-position: 50% 0%; }
	100% { background-position: 0% 50%; }
}
.login-page .main-header {
	background: linear-gradient(135deg, #1a3a5c 0%, #2574a9 100%) !important;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	height: auto;
	padding: 12px 0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	position: relative;
	z-index: 10;
}
.login-page .main-header .img-logo {
	margin: 8px 20px;
	width: 180px;
}
.login-page .main-header .panel-user {
	background: rgba(120,175,225,0.45);
	height: auto;
	padding: 12px 16px;
	border-radius: 10px;
	margin: 16px 16px;
	font-size: 13px;
	color: #fff;
	margin-bottom: 40px;
	margin-top: 20px;
}
.login-page .main-header .panel-user img {
	width: 42px;
	border-radius: 50%;
}
.login-page .login-box {
	margin-top: 160px !important;
	position: relative;
	z-index: 5;
}
.login-box {
	width: 420px;
	margin: 30px auto;
}
.login-box .box {
	border-radius: 16px !important;
	box-shadow: 0 8px 40px rgba(0,0,0,0.2) !important;
}
.login-box .box .box-header {
	background: linear-gradient(135deg, #5a90b5, #70a8cc) !important;
	padding: 18px 22px !important;
}
.login-box .box .box-header .box-title {
	color: #fff !important;
	font-size: 16px;
	font-weight: 600;
}
.login-box .box .box-body {
	padding: 24px;
}
.login-box .btn-success {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
}

/* --- Login Page (Admin) --- */
.login-box-body {
	border-radius: 16px !important;
	padding: 30px !important;
	box-shadow: 0 8px 40px rgba(0,0,0,0.2) !important;
}
.login-logo a {
	color: #fff !important;
	font-size: 26px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* --- DataTables --- */
.dataTables_wrapper .dataTables_paginate .paginate_button {
	border-radius: 8px !important;
	margin: 0 2px;
	border: none !important;
	padding: 6px 14px;
	transition: all 0.2s ease;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
	background: linear-gradient(135deg, #3498db, #2980b9) !important;
	color: #fff !important;
	border: none !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: #e8ecf1 !important;
	border: none !important;
	color: #333 !important;
}
.dataTables_wrapper .dataTables_filter input {
	border-radius: 8px !important;
	border: 1.5px solid #dde2e8;
	padding: 6px 12px;
}
.dataTables_wrapper .dataTables_length select {
	border-radius: 8px !important;
	border: 1.5px solid #dde2e8;
	padding: 4px 8px;
}

/* --- Content padding-top for student pages --- */
.content-wrapper {
	padding-top: 85px !important;
}

/* Admin pages: proper spacing below fixed header */
.sidebar-mini .content-wrapper {
	padding-top: 60px !important;
}

/* --- Direct Chat (Log box) --- */
.direct-chat .box-body {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
#log-list {
	height: 533px;
	overflow-y: auto;
}
#log-list::-webkit-scrollbar {
	width: 5px;
}
#log-list::-webkit-scrollbar-track {
	background: transparent;
}
#log-list::-webkit-scrollbar-thumb {
	background: #cbd5e0;
	border-radius: 10px;
}

/* --- General Scrollbar Styling --- */
::-webkit-scrollbar {
	width: 7px;
	height: 7px;
}
::-webkit-scrollbar-track {
	background: #f0f2f5;
}
::-webkit-scrollbar-thumb {
	background: #c1c9d6;
	border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
	background: #a0aec0;
}

/* --- Animations --- */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.info-box, .box {
	animation: fadeInUp 0.4s ease-out;
}
.content > .row {
	animation: fadeInUp 0.5s ease-out;
}

/* --- Student Page Header --- */
.student-header {
	height: auto !important;
	background: linear-gradient(135deg, #3d6a8a 0%, #5a90b5 100%) !important;
}
.student-header .navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 0;
	margin: 0;
	background: transparent !important;
	border: none !important;
}
.student-header .navbar-header {
	float: none;
	display: flex;
	align-items: center;
}
.student-header .navbar-right {
	float: none;
	display: flex;
	align-items: center;
}
.student-user-info {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255,255,255,0.12);
	padding: 8px 16px;
	border-radius: 10px;
	color: #fff;
}
.student-user-info img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}
.student-user-text {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}
.student-name {
	font-weight: 600;
	font-size: 13px;
	color: #fff;
}
.student-logout {
	font-size: 12px;
	color: rgba(255,255,255,0.7) !important;
	text-decoration: none;
}
.student-logout:hover {
	color: #fff !important;
}

/* Student content area */
.student-content {
	padding-top: 20px !important;
	min-height: calc(100vh - 56px);
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
	.login-box {
		width: 92%;
		margin: 20px auto;
	}
	.info-box-number {
		font-size: 20px;
	}
	.student-user-info {
		padding: 6px 10px;
	}
	.student-name {
		font-size: 12px;
	}
	.modern-login-card {
		margin: 20px 16px !important;
		max-width: 100% !important;
	}
	.modern-login-header {
		padding: 30px 24px 24px !important;
	}
	.modern-login-body {
		padding: 24px 20px !important;
	}
}

/* ===========================================
   MODERN LOGIN FORM
   =========================================== */
.modern-login-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 28px 20px 88px;
	position: relative;
	z-index: 2;
}

.modern-login-card {
	width: 100%;
	max-width: 455px;
	background: linear-gradient(160deg, rgba(247,252,255,0.97) 0%, rgba(241,250,255,0.96) 38%, rgba(235,247,255,0.95) 100%);
	border-radius: 26px;
	box-shadow: 0 24px 70px rgba(5,17,33,0.45), 0 0 0 1px rgba(255,255,255,0.18);
	overflow: hidden;
	animation: loginFadeIn 0.6s ease-out;
	backdrop-filter: blur(8px);
}

@keyframes loginFadeIn {
	from { opacity: 0; transform: translateY(30px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.modern-login-header {
	background: linear-gradient(130deg, #16324f 0%, #1f4d74 45%, #2f7a8f 100%);
	padding: 42px 34px 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.modern-login-header::before {
	content: '';
	position: absolute;
	top: -55%;
	right: -26%;
	width: 240px;
	height: 240px;
	background: rgba(255,177,124,0.28);
	border-radius: 50%;
}

.modern-login-header::after {
	content: '';
	position: absolute;
	bottom: -55%;
	left: -16%;
	width: 270px;
	height: 270px;
	background: rgba(255,255,255,0.12);
	border-radius: 50%;
}

.modern-login-icon {
	width: 74px;
	height: 74px;
	background: linear-gradient(145deg, #ffffff 0%, #ffe7c6 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	backdrop-filter: blur(10px);
	border: 3px solid rgba(255,255,255,0.86);
	box-shadow: 0 8px 24px rgba(0,0,0,0.22);
	position: relative;
	z-index: 1;
}

.modern-login-icon i {
	font-size: 28px;
	color: #ca6b2d;
}

@keyframes iconPulse {
	0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
	50% { box-shadow: 0 10px 30px rgba(255,153,74,0.38); }
}
.modern-login-icon {
	animation: iconPulse 3s ease-in-out infinite;
}

.modern-login-title {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 6px;
	letter-spacing: 0.3px;
	position: relative;
	z-index: 1;
	text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.modern-login-subtitle {
	color: rgba(232,241,250,0.86);
	font-size: 13px;
	margin: 0;
	font-weight: 500;
	letter-spacing: 0.2px;
	position: relative;
	z-index: 1;
}

.modern-login-body {
	padding: 34px 34px 22px;
}

.modern-input-group {
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.9);
	border: 1.8px solid #c8d9e8;
	border-radius: 14px;
	margin-bottom: 16px;
	transition: all 0.3s ease;
	overflow: hidden;
}

.modern-input-group:focus-within {
	border-color: #2f7a8f;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(39,119,152,0.2);
}

.modern-input-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	min-width: 50px;
	height: 48px;
	color: #7a91a8;
	font-size: 16px;
	transition: color 0.3s ease;
}

.modern-input-group:focus-within .modern-input-icon {
	color: #2f7a8f;
}

.modern-input {
	flex: 1;
	border: none !important;
	background: transparent !important;
	padding: 13px 16px 13px 0 !important;
	font-size: 14px !important;
	color: #1f2f45 !important;
	outline: none !important;
	box-shadow: none !important;
	font-family: 'Inter', sans-serif;
	height: auto !important;
	min-height: unset !important;
}

.modern-input::placeholder {
	color: #90a2b5;
	font-weight: 400;
}

.modern-login-info {
	min-height: 10px;
	margin-bottom: 8px;
}

.modern-login-info .alert {
	border-radius: 10px;
	font-size: 13px;
	padding: 10px 14px;
	margin-bottom: 0;
}

.modern-login-btn {
	width: 100%;
	padding: 14px 24px;
	background: linear-gradient(120deg, #dd7b34 0%, #f09a46 46%, #ffc173 100%);
	color: #fff;
	border: none;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(204,103,32,0.34);
}

.modern-login-btn:hover {
	background: linear-gradient(120deg, #c86421 0%, #e58733 46%, #f7aa58 100%);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(204,103,32,0.42);
}

.modern-login-btn:active {
	transform: translateY(0);
	box-shadow: 0 5px 12px rgba(204,103,32,0.3);
}

.modern-login-footer {
	text-align: center;
	padding: 15px 32px 22px;
	border-top: 1px solid #dbe7f2;
	background: rgba(242,248,253,0.95);
}

.modern-login-logo {
	height: 34px;
	width: auto;
	opacity: 0.72;
	transition: opacity 0.3s ease;
}

.modern-login-logo:hover {
	opacity: 1;
}

.modern-login-page-footer {
	text-align: center;
	color: rgba(223,236,248,0.75);
	font-size: 11px;
	padding: 12px 14px;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	letter-spacing: 0.25px;
	z-index: 3;
}

/* Modern Admin Login */
.modern-admin-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 20px;
}

.modern-admin-card {
	width: 100%;
	max-width: 420px;
	background: linear-gradient(160deg, #ebf5fb 0%, #d6eaf8 30%, #aed6f1 60%, #d4e6f1 100%);
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(93,173,226,0.2);
	overflow: hidden;
	animation: loginFadeIn 0.6s ease-out;
}

.modern-admin-header {
	background: linear-gradient(135deg, #1a5276 0%, #2e86c1 40%, #5dade2 70%, #85c1e9 100%);
	padding: 36px 32px 28px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.modern-admin-header::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -30%;
	width: 180px;
	height: 180px;
	background: rgba(255,255,255,0.06);
	border-radius: 50%;
}

.modern-admin-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, #fff, #d6eaf8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	backdrop-filter: blur(10px);
	border: 3px solid rgba(255,255,255,0.8);
	box-shadow: 0 4px 15px rgba(46,134,193,0.35);
	position: relative;
	z-index: 1;
}

.modern-admin-icon i {
	font-size: 24px;
	color: #2e86c1;
}

.modern-admin-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 4px;
	position: relative;
	z-index: 1;
	text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.modern-admin-subtitle {
	color: rgba(255,255,255,0.8);
	font-size: 12px;
	margin: 0;
	font-weight: 400;
	position: relative;
	z-index: 1;
}

.modern-admin-body {
	padding: 28px 28px 20px;
}

.modern-admin-footer {
	text-align: center;
	padding: 12px 28px 20px;
	border-top: 1px solid #d6eaf8;
}

.modern-admin-footer span {
	font-size: 11px;
	color: #a0aec0;
}

.modern-admin-btn {
	width: 100%;
	padding: 13px 24px;
	background: linear-gradient(135deg, #2574a9 0%, #2e86c1 50%, #5dade2 100%);
	color: #fff;
	border: none;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.6px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
	box-shadow: 0 4px 15px rgba(46,134,193,0.3);
}

.modern-admin-btn:hover {
	background: linear-gradient(135deg, #1a5276 0%, #2574a9 50%, #2e86c1 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(46,134,193,0.45);
}

.modern-admin-btn:active {
	transform: translateY(0);
}

/* ============================================
   E-ARSIP STYLE ADMIN LOGIN
   ============================================ */
.earsip-login-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 20px;
}

.earsip-login-card {
	width: 100%;
	max-width: 440px;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.1);
	overflow: hidden;
	animation: loginFadeIn 0.6s ease-out;
}

.earsip-login-header {
	text-align: center;
	padding: 40px 32px 20px;
}

.earsip-login-icon {
	width: 72px;
	height: 72px;
	background: linear-gradient(135deg, #2574a9 0%, #5dade2 100%);
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	box-shadow: 0 8px 24px rgba(37,116,169,0.3);
}

.earsip-login-icon i {
	font-size: 30px;
	color: #ffffff;
}

.earsip-login-title {
	color: #2574a9;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 6px;
	letter-spacing: 0.5px;
}

.earsip-login-desc {
	color: #718096;
	font-size: 13px;
	margin: 0;
	font-weight: 400;
	line-height: 1.5;
}

.earsip-login-body {
	padding: 10px 36px 24px;
}

.earsip-login-heading {
	text-align: center;
	font-size: 17px;
	font-weight: 700;
	color: #2d3748;
	margin: 0 0 24px;
}

.earsip-form-group {
	margin-bottom: 18px;
}

.earsip-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #4a5568;
	margin-bottom: 6px;
}

.earsip-input-wrap {
	position: relative;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	background: #f7fafc;
	transition: all 0.3s ease;
	overflow: hidden;
}

.earsip-input-wrap:focus-within {
	border-color: #5dade2;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(93,173,226,0.15);
}

.earsip-input {
	width: 100%;
	border: none !important;
	background: transparent !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	color: #2d3748 !important;
	outline: none !important;
	box-shadow: none !important;
	font-family: 'Inter', sans-serif;
	height: auto !important;
	min-height: unset !important;
}

.earsip-input::placeholder {
	color: #a0aec0;
	font-weight: 400;
}

.earsip-input-password {
	display: flex;
	align-items: center;
}

.earsip-input-password .earsip-input {
	flex: 1;
	padding-right: 8px !important;
}

.earsip-toggle-pw {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	cursor: pointer;
	color: #a0aec0;
	font-size: 16px;
	transition: color 0.2s ease;
	user-select: none;
}

.earsip-toggle-pw:hover {
	color: #2574a9;
}

.earsip-login-btn {
	width: 100%;
	padding: 14px 24px;
	background: linear-gradient(135deg, #2574a9 0%, #2e86c1 50%, #5dade2 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
	box-shadow: 0 4px 15px rgba(46,134,193,0.35);
	margin-top: 6px;
}

.earsip-login-btn:hover {
	background: linear-gradient(135deg, #1a5276 0%, #2574a9 50%, #2e86c1 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(46,134,193,0.45);
}

.earsip-login-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(46,134,193,0.3);
}

.earsip-login-footer {
	padding: 0 36px 28px;
	text-align: center;
}

.earsip-divider {
	border: none;
	border-top: 1px solid #e2e8f0;
	margin: 8px 0 16px;
}

.earsip-copyright {
	color: #a0aec0;
	font-size: 12px;
	margin: 0;
	line-height: 1.6;
}