.login-wrapper-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 40px;
}

.login-wrapper-all {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #f8fafc;
	border-radius: 20px;
	overflow: hidden;
	max-width: 1000px;
	width: 100%;
	margin-top: 100px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

/* LEFT */
.login-left {
	background: #f8fafc;
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 0;
}

.login-left img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* RIGHT */
.login-right {
	padding: 60px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.login-title h1 {
	font-size: 36px;
	font-weight: 700;
	color: #023061;
	margin-bottom: 30px;
}
.login-title h1 span {
	color: #0b1b3f;
}
.login-form-item {
	margin-bottom: 20px;
}

.login-form-item label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #334155;
}

.login-form-all {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 16px;
	transition: all 0.3s ease;
}

.login-form-all ion-icon {
	font-size: 20px;
	color: #64748b;
	margin-right: 12px;
}

.login-form-all input {
	border: none;
	outline: none;
	width: 100%;
	background: transparent;
	font-size: 12px;
	color: #020617;
}
.login-form-all input::placeholder {
	color: #94a3b8;
}

.login-form-all:focus-within {
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
	background: #ffffff;
}

.login-option {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	margin: 20px 0 30px;
}

.login-option span {
	color: #475569;
}

.login-option a {
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
}

.login-option a:hover {
	text-decoration: underline;
}

/* BUTTON */
.login-button button {
	width: 100%;
	padding: 14px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	background: #023061;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.login-button button:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}
.daftar-option {
	display: block;
	text-align: center;
	margin-top: 30px;
	font-size: 12px;
	color: #475569;
}
.daftar-option a {
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
}
.daftar-option a:hover {
	text-decoration: underline;
	transition: 0.2s ease-in-out;
}

/* login.css - Premium Alert Styling */

:root {
	--premium-accent: #1e3a8a; /* Deep Navy */
	--error-bg: rgba(255, 77, 77, 0.05);
	--error-border: rgba(255, 77, 77, 0.3);
	--error-text: #d63031;
	--shadow-premium: 0 10px 30px -5px rgba(0, 0, 0, 0.05),
		0 20px 25px -5px rgba(0, 0, 0, 0.02);
}

/* Container Alert */
.premium-alert {
	display: none;
	position: relative;
	background: var(--error-bg);
	border: 1px solid var(--error-border);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 16px 20px;
	border-radius: 14px;
	margin-bottom: 28px;
	box-shadow: var(--shadow-premium);
	overflow: hidden;
}

/* Garis aksen vertikal di samping alert */
.premium-alert::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 4px;
	background: var(--error-text);
}

.alert-content {
	display: flex;
	align-items: center;
	gap: 15px;
}

.alert-content ion-icon {
	color: var(--error-text);
	font-size: 24px;
	filter: drop-shadow(0 2px 4px rgba(214, 48, 49, 0.2));
}

.alert-content p {
	color: #2d3436;
	font-family: "Inter", -apple-system, sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	margin: 0;
}

/* State Input saat Error */
.input-error-premium {
	border-color: var(--error-border) !important;
	background-color: #fffafa !important;
	box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.08) !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animasi Spinner di Button */
.spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #fff;
	display: inline-block;
	animation: premium-spin 0.8s linear infinite;
	margin-right: 10px;
	vertical-align: middle;
}

@keyframes premium-spin {
	to {
		transform: rotate(360deg);
	}
}

.premium-popup-shadow {
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1) !important;
	padding: 2em !important;
}

.premium-button-confirm {
	padding: 12px 30px !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px !important;
	border-radius: 10px !important;
}

.premium-button-cancel {
	padding: 12px 30px !important;
	font-weight: 600 !important;
	border-radius: 10px !important;
	background-color: transparent !important;
	border: 1px solid #dfe6e9 !important;
}

#btnSubmit {
	background: #1e3a8a;
	border: none;
	box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
	transition: all 0.3s ease;
}

#btnSubmit:hover:not(:disabled) {
	background: #172554;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.premium-success-popup {
	border-radius: 24px !important;
	padding: 2rem !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
	overflow: hidden;
}

.premium-success-title {
	font-weight: 800 !important;
	letter-spacing: 4px !important;
	color: #1e3a8a !important;
	font-size: 18px !important;
	margin-bottom: 20px !important;
}

/* Wrapper Icon dengan Efek Pulse */
.success-icon-wrapper {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 30px auto;
	width: 80px;
	height: 80px;
}

.success-icon-wrapper ion-icon {
	font-size: 45px;
	color: #1e3a8a;
	z-index: 2;
}

.circle-outer {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 2px solid #e0e7ff;
	border-radius: 50%;
	animation: pulse-ring 2s infinite;
}

.circle-inner {
	position: absolute;
	width: 80%;
	height: 80%;
	background: #f0f4ff;
	border-radius: 50%;
}

/* Progress Bar Elegant */
.loading-bar-wrapper {
	width: 200px;
	height: 4px;
	background: #f1f5f9;
	border-radius: 10px;
	margin: 20px auto;
	overflow: hidden;
}

.loading-bar-fill {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, #1e3a8a, #3b82f6);
	border-radius: 10px;
	animation: fill-progress 2.8s ease-in-out forwards;
}

.premium-status-text {
	font-size: 13px;
	color: #64748b;
	font-style: italic;
}

@keyframes pulse-ring {
	0% {
		transform: scale(0.8);
		opacity: 0.5;
	}
	50% {
		transform: scale(1.1);
		opacity: 0.3;
	}
	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

@keyframes fill-progress {
	0% {
		width: 0%;
	}
	30% {
		width: 70%;
	}
	100% {
		width: 100%;
	}
}

.glitch-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, transparent, #1e3a8a, transparent);
	animation: slide-line 2s infinite;
}

@keyframes slide-line {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 834px) {
	.login-wrapper-all {
		grid-template-columns: 1fr !important;
	}
	.login-left {
		display: none;
	}
	.login-right {
		padding: 40px 30px;
	}
}

@media (max-width: 414px) {
	/* wrapper */
	.login-wrapper-section {
		padding: 20px;
	}

	.login-wrapper-all {
		margin-top: 60px;
		border-radius: 16px;
	}

	/* RIGHT */
	.login-right {
		padding: 28px 22px;
	}

	/* TITLE */
	.login-title h1 {
		font-size: 26px;
		margin-bottom: 22px;
	}

	/* LABEL */
	.login-form-item label {
		font-size: 12px;
		margin-bottom: 6px;
	}

	/* INPUT */
	.login-form-all {
		padding: 12px 14px;
		border-radius: 10px;
	}

	.login-form-all ion-icon {
		font-size: 18px;
		margin-right: 10px;
	}

	.login-form-all input {
		font-size: 12px;
	}

	/* OPTION */
	.login-option {
		font-size: 11px;
		margin: 16px 0 24px;
	}

	/* BUTTON */
	.login-button button {
		padding: 12px;
		font-size: 14px;
		border-radius: 12px;
	}

	/* FOOTER LINK */
	.daftar-option {
		font-size: 11px;
		margin-top: 22px;
	}
}
