body.awqaf-classic-login {
	background: #0b3d35 !important;
	color: #fff;
}

body.awqaf-classic-login .page-container,
body.awqaf-classic-login .page-content-wrapper,
body.awqaf-classic-login .page_content {
	background: transparent !important;
}

body.awqaf-classic-login .swift-login-shell {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	min-height: 100dvh;
	background:
		radial-gradient(ellipse 65% 70% at 80% 20%, rgba(37, 151, 131, 0.48), transparent 70%),
		radial-gradient(ellipse 60% 80% at 8% 80%, rgba(3, 44, 40, 0.9), transparent 72%),
		linear-gradient(145deg, #0b3d35, #155c52 55%, #176e61) !important;
}

body.awqaf-classic-login .swift-login-shell::before {
	content: "";
	position: absolute;
	left: -60px;
	top: 50%;
	width: 680px;
	height: 680px;
	z-index: 0;
	pointer-events: none;
	opacity: 0.16;
	background: url("/assets/blue_theme/images/awqaf-login-pattern.svg") center / contain no-repeat;
	animation: awqaf-login-spin 90s linear infinite;
}

@keyframes awqaf-login-spin {
	from { transform: translateY(-50%) rotate(0deg); }
	to { transform: translateY(-50%) rotate(360deg); }
}

body.awqaf-classic-login .swift-login-forms {
	position: relative;
	z-index: 1;
	width: 100%;
	align-items: center;
	padding: 24px 20px;
}

body.awqaf-classic-login .swift-login-forms > section {
	width: min(100%, 390px);
	margin-inline: auto !important;
}

body.awqaf-classic-login .login-content.page-card {
	width: 100%;
	max-width: 390px;
	margin: 0 auto;
	padding: 24px 26px !important;
	border: 1px solid rgba(222, 192, 106, 0.4);
	border-radius: 24px;
	background: rgba(7, 53, 48, 0.9) !important;
	box-shadow: 0 28px 70px rgba(0, 20, 17, 0.4);
	color: #fff;
}

body.awqaf-classic-login .page-card-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center !important;
	margin-bottom: 12px;
}

body.awqaf-classic-login .page-card-head::before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 88px;
	height: 90px;
	margin: 0 auto 4px;
	background: url("/assets/blue_theme/images/splash.png") center / 195px auto no-repeat;
}

body.awqaf-classic-login .page-card form.form-login {
	gap: 16px;
}

body.awqaf-classic-login .page-card-head .app-logo {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

body.awqaf-classic-login .page-card-head h4,
body.awqaf-classic-login .page-card-head-text h4 {
	color: #fff !important;
}

body.awqaf-classic-login .page-card-head-text {
	width: 100%;
	text-align: center !important;
}

body.awqaf-classic-login .page-card-head-text h4::after {
	background: #dec06a;
}

body.awqaf-classic-login .page-card-subtitle {
	color: #d7e9e3 !important;
}

body.awqaf-classic-login .form-label {
	color: #e5f1ed !important;
	text-align: right !important;
	direction: rtl;
}

body.awqaf-classic-login .page-card .page-card-body input[type="text"],
body.awqaf-classic-login .page-card .page-card-body input[type="email"],
body.awqaf-classic-login .page-card .page-card-body input[type="password"] {
	height: 46px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

body.awqaf-classic-login .page-card .page-card-body input::placeholder {
	color: #c7d9d3 !important;
	-webkit-text-fill-color: #c7d9d3;
}

body.awqaf-classic-login .page-card .page-card-body input:focus {
	border-color: #dec06a;
	box-shadow: 0 0 0 3px rgba(222, 192, 106, 0.2);
}

body.awqaf-classic-login .page-card .page-card-body input:-webkit-autofill,
body.awqaf-classic-login .page-card .page-card-body input:-webkit-autofill:hover,
body.awqaf-classic-login .page-card .page-card-body input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	box-shadow: 0 0 0 1000px #164b43 inset !important;
}

body.awqaf-classic-login .toggle-password,
body.awqaf-classic-login .forgot-password-message a,
body.awqaf-classic-login .sign-up-message,
body.awqaf-classic-login .sign-up-message a,
body.awqaf-classic-login .page-card .page-card-actions .btn-login-option {
	color: #f0d27c !important;
}

body.awqaf-classic-login .page-card .page-card-actions .btn-login,
body.awqaf-classic-login .page-card .page-card-actions .btn-signup,
body.awqaf-classic-login .page-card .page-card-actions .btn-forgot {
	height: 48px;
	border: 0;
	border-radius: 12px;
	background: #11756e !important;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(0, 28, 24, 0.35);
}

body.awqaf-classic-login .page-card .page-card-actions .btn-login:hover,
body.awqaf-classic-login .page-card .page-card-actions .btn-signup:hover,
body.awqaf-classic-login .page-card .page-card-actions .btn-forgot:hover {
	background: #19877d !important;
}

body.awqaf-classic-login .swift-prayer-link {
	position: fixed;
	z-index: 100;
	top: 24px;
	right: 24px;
	display: inline-block;
	width: max-content;
	margin: 0;
	padding: 0.65rem 1.2rem;
	border: 1px solid #dec06a;
	border-radius: 999px;
	background: rgba(7, 53, 48, 0.9);
	color: #f0d27c;
	font-weight: 700;
	text-decoration: none;
}

body.awqaf-classic-login .swift-prayer-link:hover,
body.awqaf-classic-login .swift-prayer-link:focus-visible {
	background: #dec06a;
	color: #0b3d35;
}

@media (max-width: 560px) {
	body.awqaf-classic-login .swift-login-shell::before {
		left: -180px;
		width: 480px;
		height: 480px;
	}

	body.awqaf-classic-login .swift-prayer-link {
		top: 16px;
		right: 16px;
		padding: 0.5rem 0.9rem;
	}

	body.awqaf-classic-login .page-card-head::before {
		width: 78px;
		height: 80px;
		background-size: 175px auto;
	}

	body.awqaf-classic-login .login-content.page-card {
		padding: 20px 18px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.awqaf-classic-login .swift-login-shell::before {
		animation: none;
	}
}
