/* Nidava glass theme: login and other website pages (loaded through web_include_css).
   Website pages carry no data-theme, so nothing here is theme-scoped. */

body {
	font-family: "Almarai", "Segoe UI", "Tahoma", sans-serif;
	background-color: #eef1f7;
	background-image:
		radial-gradient(circle at 12% 8%, rgba(26, 60, 110, 0.18) 0%, rgba(26, 60, 110, 0) 45%),
		radial-gradient(circle at 88% 18%, rgba(200, 150, 12, 0.16) 0%, rgba(200, 150, 12, 0) 42%),
		radial-gradient(circle at 20% 92%, rgba(200, 150, 12, 0.12) 0%, rgba(200, 150, 12, 0) 40%),
		radial-gradient(circle at 95% 88%, rgba(26, 60, 110, 0.16) 0%, rgba(26, 60, 110, 0) 45%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	min-height: 100vh;
}

/* "body" outranks the login bundle, which paints the card solid white. */
body .for-login .page-card,
body .for-forgot .page-card,
body .for-login-with-email-link .page-card,
body .for-signup .page-card {
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 20px;
	box-shadow: 0 16px 48px rgba(15, 36, 68, 0.14);
	padding: 32px 28px;
}

.page-card-head .app-logo {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	box-shadow: 0 6px 18px rgba(15, 36, 68, 0.25);
}

.page-card-head h4,
.page-card-head-text {
	color: #1a3c6e;
	font-weight: 800;
}

.page-card .form-control {
	background-color: rgba(255, 255, 255, 0.75);
	border-radius: 10px;
	min-height: 40px;
}

body .page-card .btn-primary,
body .page-card .btn-login,
body .page-card .es-button[data-variant="solid"] {
	background-color: #1a3c6e;
	border-color: #1a3c6e;
	color: #fff;
	border-radius: 10px;
	min-height: 40px;
	font-weight: 700;
}

body .page-card .btn-primary:hover,
body .page-card .btn-login:hover,
body .page-card .es-button[data-variant="solid"]:hover {
	background-color: #2a5ea8;
	border-color: #2a5ea8;
}

.page-card .btn-login-option {
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.6);
}

.web-footer {
	background: transparent;
}

/* Labels and links on the login card use Frappe's greys (#7c7c7c is 4.2:1 on white). html:root
   wins over the website bundle's :root, which loads first or later depending on the page. */
html:root {
	--ink-gray-4: #666e7c;
	--ink-gray-5: #555d6b;
	--ink-gray-6: #444b58;
}

.page-card .form-control {
	background-color: #fff;
	border: 1px solid #77849a;
}

.page-card .form-control::placeholder {
	color: #666e7c;
	opacity: 1;
}
