/* AAU Modal — gerbang log masuk/daftar */

.aau-modal[hidden] { display: none; }

.aau-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;          /* atas header melekat Enfold */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.aau-modal__latar {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, .55);
	backdrop-filter: blur(2px);
}

.aau-modal__kotak {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	border-radius: 14px;
	padding: 28px 26px 24px;
	box-shadow: 0 20px 60px rgba(15, 23, 42, .28);
	animation: aau-naik .18s ease-out;
}

@keyframes aau-naik {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.aau-modal__kotak { animation: none; }
}

.aau-modal__x {
	position: absolute;
	top: 10px; right: 12px;
	width: 32px; height: 32px;
	border: 0; background: transparent;
	font-size: 26px; line-height: 1;
	color: #94a3b8; cursor: pointer;
	border-radius: 8px;
}
.aau-modal__x:hover { background: #f1f5f9; color: #475569; }

.aau-modal__tajuk {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.aau-modal__sub {
	margin: 0 0 18px;
	font-size: 14px;
	color: #64748b;
}

/* Tab */
.aau-tab {
	display: flex;
	gap: 4px;
	background: #f1f5f9;
	border-radius: 10px;
	padding: 4px;
	margin: 0 0 18px;
}

.aau-tab__btn {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 9px 10px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
}

.aau-tab__btn.is-aktif {
	background: #fff;
	color: #0f172a;
	box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}

.aau-pane[hidden] { display: none; }
.aau-sub-langkah[hidden] { display: none; }

/* Kunci skrol badan bila popup terbuka */
body.aau-modal-buka { overflow: hidden; }

@media (max-width: 480px) {
	.aau-modal { padding: 0; align-items: flex-end; }
	.aau-modal__kotak {
		max-width: none;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
		padding: 24px 20px 20px;
	}
}
