@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
	--nia-blue: #002269;
	--nia-blue-dark: #001746;
	--nia-yellow: #f2c94c;
	--nia-bg: #f5f7fb;
	--nia-text: #111827;
	--nia-muted: #6b7280;
	--nia-border: #e5e7eb;
	--nia-red: #c0392b;
}

html,
body {
	height: 100%;
	overflow: hidden;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--nia-bg);
	color: var(--nia-text);
	font-family: 'Poppins' sans-serif;
}

a {
	text-decoration: none;
	color: var(--nia-blue);
}

.auth-main {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: #002269;
}

.auth-card {
	max-width: 760px;
	width: 100%;
	background: #fff;
	border-radius: 15px;
	padding: 32px;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.auth-card h1 {
	color: var(--nia-blue);
	letter-spacing: -0.03em;
}

.form-control,
.form-select {
	border-radius: 5px;
	min-height: 46px;
	border-color: #d1d5db;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--nia-blue);
	box-shadow: 0 0 0 0.2rem rgba(0, 34, 105, 0.12);
}

.dashboard-shell {
	min-height: 100vh;
	display: flex;
	background: var(--nia-bg);
}

.dashboard-sidebar {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 290px;
	background: var(--nia-blue);
	color: #fff;
	padding: 22px 0;
	display: flex;
	flex-direction: column;
	z-index: 1000;
	transition: 0.3s ease;
	box-shadow: 12px 0 30px rgba(0, 0, 0, 0.08);
}

.sidebar-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar-logo {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--nia-yellow);
	color: var(--nia-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 22px;
	flex-shrink: 0;
}

.sidebar-brand strong {
	display: block;
	font-size: 18px;
}

.sidebar-brand small {
	display: block;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}

.sidebar-user {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0;
	padding: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--nia-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
}

.sidebar-user strong {
	display: block;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	letter-spacing: -0.6px;
	line-height: 20px;
}

.sidebar-user small {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	line-height: 18px;
	color: rgba(255, 255, 255, 0.7);
}

.sidebar-menu {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sidebar-link {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #FFFFFF;
	padding: 12px 20px;
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	font-size: 16px;
	letter-spacing: -0.32px;
	line-height: 20px;
	transition: 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
	background: #f2c94c;
	color: #000000;
}

.sidebar-icon {
	width: 22px;
	display: inline-flex;
	justify-content: center;
}

.sidebar-footer {
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard-main {
	margin-left: 290px;
	width: calc(100% - 290px);
	min-height: 100vh;
}

.dashboard-topbar {
	height: 92px;
	background: #fff;
	border-bottom: 1px solid var(--nia-border);
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0 34px;
	position: sticky;
	top: 0;
	z-index: 99;
}

.dashboard-topbar h1 {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 25px;
	font-weight: 750;
	letter-spacing: -1px;
	color: var(--nia-blue);
}

.dashboard-topbar p {
	margin: 4px 0 0;
	color: var(--nia-muted);
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	letter-spacing: -0.28px;
	line-height: 24px;
}

.sidebar-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 12px;
	background: rgba(0, 34, 105, 0.08);
	color: var(--nia-blue);
}

.dashboard-content {
	padding: 34px;
}

.dashboard-content>.container {
	max-width: 1320px;
	padding-left: 0;
	padding-right: 0;
}

.card {
	border: 1px solid var(--nia-border);
	border-radius: 5px;
	box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
	background: #fff;
}

.card h1,
.card h2,
.card h3 {
	color: var(--nia-blue);
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	line-height: 25px;
	letter-spacing: -0.8px;
}

.btn-nia {
	background: var(--nia-blue);
	border-color: var(--nia-blue);
	color: #fff;
	border-radius: 12px;
	padding: 10px 16px;
	font-weight: 600;
}

.btn-nia:hover {
	background: var(--nia-blue-dark);
	border-color: var(--nia-blue-dark);
	color: #fff;
}

.btn-outline-nia {
	border: 1px solid var(--nia-blue);
	color: var(--nia-blue);
	border-radius: 12px;
	padding: 10px 16px;
	font-weight: 600;
}

.btn-outline-nia:hover {
	background: var(--nia-blue);
	color: #fff;
}

.badge-nia {
	display: inline-flex;
	background: rgba(242, 201, 76, 0.25);
	color: var(--nia-blue);
	border: 1px solid rgba(242, 201, 76, 0.55);
	border-radius: 999px;
	padding: 7px 12px;
	font-weight: 700;
	font-size: 12px;
}

.progress {
	height: 12px;
	border-radius: 999px;
	background: #eef2f7;
}

.progress-bar {
	background: linear-gradient(90deg, var(--nia-blue), #3159b3);
	border-radius: 999px;
}

.status-step {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #eef2f7;
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
	margin: 3px;
}

.status-step.active {
	background: var(--nia-blue);
	color: #fff;
}

.stat-card {
	padding: 22px;
	border-radius: 5px;
	background: #fff;
	border: 1px solid var(--nia-border);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.stat-card strong {
	display: block;
	font-size: 26px;
	color: var(--nia-blue);
}

.stat-card span {
	font-size: 15px;
	line-height: 25px;
	letter-spacing: -0.3px;
	font-weight: 300;
	color: #000000;
}

.service-card {
	height: 100%;
	border-radius: 20px;
	border: 1px solid var(--nia-border);
	padding: 20px;
	background: #fff;
	transition: 0.25s;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-card i {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(0, 34, 105, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--nia-blue);
	font-size: 20px;
	margin-bottom: 12px;
}

.table {
	vertical-align: middle;
}

.message-box {
	max-height: 340px;
	overflow: auto;
}

.alert-soft {
	border: 1px solid rgba(0, 34, 105, 0.12);
	background: rgba(0, 34, 105, 0.04);
	border-radius: 16px;
	padding: 14px 16px;
}

.required {
	color: #c0392b;
}

@media (max-width: 991px) {
	.dashboard-sidebar {
		transform: translateX(-105%);
	}

	.dashboard-sidebar.is-open {
		transform: translateX(0);
	}

	.dashboard-main {
		margin-left: 0;
		width: 100%;
	}

	.sidebar-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.dashboard-content {
		padding: 22px;
	}

	.dashboard-topbar {
		padding: 0 20px;
	}

	.dashboard-topbar h1 {
		font-size: 21px;
	}
}

@media (max-width: 575px) {
	.dashboard-content {
		padding: 16px;
	}

	.dashboard-topbar {
		height: 78px;
	}

	.dashboard-sidebar {
		width: 270px;
	}

	.card,
	.auth-card {
		border-radius: 18px;
	}

	.auth-main {
		padding: 16px;
	}
}

#niaCalendar {
	background: #fff;
}

.fc .fc-toolbar-title {
	color: var(--nia-blue);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.fc .fc-button-primary {
	background: var(--nia-blue);
	border-color: var(--nia-blue);
	border-radius: 10px;
}

.fc .fc-button-primary:hover {
	background: var(--nia-blue-dark);
	border-color: var(--nia-blue-dark);
}

.fc .fc-daygrid-event {
	background: var(--nia-blue);
	border-color: var(--nia-blue);
	border-radius: 8px;
	padding: 3px 6px;
}

.fc .fc-day-today {
	background: rgba(242, 201, 76, 0.18) !important;
}


.sidebar-link.disabled {
	opacity: .45;
	cursor: not-allowed;
	filter: grayscale(1)
}

.menu-badge {
	margin-left: auto;
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #c0392b;
	color: #fff;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700
}

.action-btn {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 2px;
	border: 1px solid var(--nia-border);
	background: #fff;
	color: var(--nia-blue)
}

.action-btn:hover {
	background: var(--nia-blue);
	color: #fff
}

.action-btn.danger:hover {
	background: #c0392b;
	border-color: #c0392b;
	color: #fff
}

.alert-warning-nia {
	border: 1px solid rgba(242, 201, 76, .6);
	background: rgba(242, 201, 76, .15);
	border-radius: 16px;
	padding: 16px;
	color: #4b3b00
}

.table-badge {
	display: inline-flex;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 12px;
	background: #eef2f7;
	color: #4b5563
}

.table-badge.ok {
	background: #e8f8ef;
	color: #0a7a37
}

.table-badge.wait {
	background: #fff6db;
	color: #8a6500
}

.table-badge.no {
	background: #fdecec;
	color: #c0392b
}

.table-badge.blue {
	background: rgba(0, 34, 105, .08);
	color: var(--nia-blue)
}

.notification-card {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.36px;
	border-left: 5px solid var(--nia-yellow);
	background: #fff;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .05)
}

.subnav {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px
}

.subnav a {
	padding: 10px 14px;
	border-radius: 5px;
	background: #fff;
	border: 1px solid var(--nia-border);
	font-weight: 700
}

.subnav a.active,
.subnav a:hover {
	background: var(--nia-blue);
	color: #fff
}

.message-contact {
	position: relative
}

.message-contact .red-dot {
	position: absolute;
	right: 8px;
	top: 14px;
	width: 9px;
	height: 9px;
	background: #c0392b;
	border-radius: 50%
}

.modal-backdrop {
	display: none !important
}

body.modal-open {
	overflow: auto !important;
	padding-right: 0 !important
}

.sidebar-dropdown {
	width: 100%;
}

.sidebar-dropdown-btn {
	width: 100%;
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.82);
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: 0.25s ease;
}

.sidebar-dropdown-btn span {
	display: flex;
	align-items: center;
	gap: 12px;
}

.sidebar-dropdown-btn:hover,
.sidebar-dropdown.active .sidebar-dropdown-btn {
	background: #fff;
	color: var(--nia-blue);
}

.sidebar-submenu {
	display: none;
	padding: 6px 0 6px 38px;
}

.sidebar-dropdown.active .sidebar-submenu {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sidebar-submenu a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	padding: 9px 12px;
	border-radius: 12px;
	transition: 0.25s ease;
}

.sidebar-submenu a:hover,
.sidebar-submenu a.active {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.sidebar-dropdown.active .fa-chevron-down {
	transform: rotate(180deg);
}

.table-badge.wait {
	background: rgba(242, 201, 76, 0.25);
	color: #8a6500;
}

.dashboard-logo {
	width: 150px !important;
}

.nia-swal {
	border-radius: 16px;
	font-family: 'Inter', sans-serif;
}

.swal2-title {
	font-weight: 700;
	color: #1c2c4c;
}

.swal2-confirm {
	border-radius: 10px !important;
	padding: 10px 20px !important;
}

.register-auth-page {
	height: 100vh;
	overflow: hidden;
	background: #f7f8fb;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.register-auth-wrapper {
	width: 100%;
	max-width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 45% 55%;
	background: #ffffff;
	overflow: hidden;
}

.register-auth-visual {
	position: relative;
	background: #002269;
	height: 100%;
	overflow: hidden;
}

.register-auth-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.register-auth-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 34, 105, 0.15), rgba(0, 34, 105, 0.9));
}

.register-auth-overlay {
	position: absolute;
	left: 35px;
	right: 35px;
	bottom: 35px;
	z-index: 2;
	color: #fff;
}

.register-auth-overlay span {
	display: inline-block;
	margin-bottom: 14px;
	padding: 8px 12px;
	border-radius: 5px;
	background: rgba(242, 201, 76, 0.18);
	color: #f2c94c;
	font-size: 13px;
	letter-spacing: -0.26px;
	line-height: 23px;
	font-weight: 300;
}

.register-auth-overlay h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 35px;
	line-height: 40px;
	letter-spacing: -1.35px;
	margin-bottom: 15px;
	color: #fff;
}

.register-auth-overlay p {
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.36px;
	color: #ffffff;
	font-weight: 300;
	margin: 0;
}

.register-auth-form {
	display: flex;
	align-items: center;
	padding: 45px;
}

.register-auth-form .auth-card {
	width: 100%;
	background: transparent;
	box-shadow: none;
	padding: 0;
}

.register-auth-form h1 {
	font-size: 38px;
	line-height: 43px;
	letter-spacing: -1.52px;
	margin-bottom: 15px;
}

.register-auth-form p {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: -0.36px;
	margin-bottom: 30px;
}

.register-auth-form .backlink {
	font-size: 15px;
	line-height: 25px;
	letter-spacing: -0.3px;
	margin-bottom: 5px;
}

.register-auth-form label {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	margin-bottom: 7px;
}

.register-auth-form .form-control,
.register-auth-form .form-select {
	min-height: 52px;
	border-radius: 5px;
	border: 1px solid #dfe3ea;
	padding: 12px 15px;
}

.register-auth-form .form-control:focus,
.register-auth-form .form-select:focus {
	border-color: #002269;
	box-shadow: 0 0 0 4px rgba(0, 34, 105, 0.08);
}

.btn-nia {
	min-height: 54px;
	border-radius: 5px;
	background: #f2c94c;
	border-color: #f2c94c;
	color: #000;
	font-size: 17px;
    letter-spacing: -0.34px;
    font-weight: 400;
}

.btn-nia:hover {
	background: #f2c94c;
	border-color: #f2c94c;
	color: #000;
}

.required {
	color: #d60000;
}

@media (max-width: 991px) {
	.register-auth-wrapper {
		grid-template-columns: 1fr;
		max-width: 720px;
		min-height: auto;
	}

	.register-auth-visual {
		display: none;
	}

	.register-auth-form {
		padding: 35px 25px;
	}
}

@media (max-width: 576px) {
	.register-auth-page {
		padding: 0;
		background: #fff;
	}

	.register-auth-wrapper {
		border-radius: 0;
		box-shadow: none;
	}

	.register-auth-form {
		padding: 28px 18px;
	}

	.register-auth-form h1 {
		font-size: 30px;
		line-height: 38px;
	}
}

.iti {
    width: 100%;
}

.iti input {
    padding-left: 90px !important;
}