/* the login page is the group's: no company's logo above the form or in the footer */
body[data-path="login"] .page-card-head .app-logo,
body[data-path="login"] .footer-logo {
	display: none !important;
}

/* the group's sign-in page: Nairobi at sunset on one side, the sign-in card on the other, the group's name and promise above a card that sits on two others, the
   brand teal for the button; "Powered by Berma Advisory LLP" below */
body[data-path="login"] { min-height: 100vh; background: #f4f8f8 !important; }
body[data-path="login"] .web-footer, body[data-path="login"] footer.web-footer { display: none !important; }
body[data-path="login"] .navbar { background: transparent !important; border: none !important; box-shadow: none !important; }
body[data-path="login"] main, body[data-path="login"] .page-content-wrapper, body[data-path="login"] .container { background: transparent !important; }
.nd-hero { text-align: center; margin: 34px auto 26px; }
.nd-mark { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; border: 5px solid #1f6f78; display: flex; align-items: center;
	justify-content: center; font: 800 24px/1 Inter, sans-serif; color: #144a50; background: #fff; }
.nd-hero h1 { font: 800 44px/1.1 Inter, sans-serif; letter-spacing: -1px; color: #0e3a3f; margin: 0; }
.nd-hero p { font-size: 17px; color: #4b5563; margin: 10px 0 0; }
body[data-path="login"] .for-login .login-content.page-card,
body[data-path="login"] .for-email-login .login-content.page-card,
body[data-path="login"] .for-forgot .login-content.page-card,
body[data-path="login"] .for-login-with-email-link .login-content.page-card {
	position: relative; max-width: 460px; border: none !important; border-radius: 24px !important; background: #fff;
	box-shadow: 0 24px 50px -18px rgba(14, 58, 63, .35); padding: 36px 40px 30px !important; overflow: visible;
}
body[data-path="login"] .login-content.page-card::before, body[data-path="login"] .login-content.page-card::after {
	content: ""; position: absolute; inset: 0; border-radius: 24px; z-index: -1;
}
body[data-path="login"] .login-content.page-card::before { background: #144a50; transform: rotate(3deg) translate(14px, 10px); }
body[data-path="login"] .login-content.page-card::after { background: #e3eeee; transform: rotate(-4deg) translate(-22px, 14px); }
body[data-path="login"] .page-card-head { text-align: left !important; padding-bottom: 6px; }
body[data-path="login"] .page-card-head h4 { font: 800 30px/1.2 Inter, sans-serif !important; color: #111827 !important; margin: 0 0 6px !important; }
body[data-path="login"] .page-card-head p { font-size: 15px !important; color: #4b5563 !important; }
body[data-path="login"] .form-label { font-weight: 700 !important; color: #111827 !important; }
body[data-path="login"] .page-card .form-control { background: #eef7f7 !important; border: 1px solid #d5ecec !important; border-radius: 12px !important;
	height: 46px !important; font-size: 15px !important; }
body[data-path="login"] .page-card .form-control:focus { border-color: #1f6f78 !important; box-shadow: 0 0 0 3px rgba(31, 111, 120, .15) !important; }
body[data-path="login"] .forgot-password-message a { color: #144a50 !important; font-weight: 700; }
body[data-path="login"] .page-card .btn-login { background: #1f6f78 !important; border: none !important; color: #fff !important; height: 46px;
	border-radius: 12px !important; font-size: 16px !important; font-weight: 700 !important; box-shadow: 0 8px 18px -8px rgba(20, 74, 80, .6); }
body[data-path="login"] .page-card .btn-login:hover { background: #195c64 !important; }
body[data-path="login"] .page-card .btn-login-option { height: 46px; border-radius: 12px !important; font-weight: 700 !important; font-size: 15px !important;
	background: #fff !important; border: 1px solid #d1d5db !important; color: #111827 !important; }
/* on a small pill of its own, so the skyline behind it never gets in its way */
.nd-powered { display: table; margin: 40px auto 24px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .85);
	box-shadow: 0 2px 10px -4px rgba(14, 58, 63, .25); color: #6b7280; font-size: 13px; text-align: center; position: relative; z-index: 1; }
.nd-powered b { color: #144a50; font-weight: 700; }
body[data-path="login"] { overflow-x: hidden; }
@media (max-width: 560px) {
	.nd-hero { margin: 22px 16px 22px; }
	.nd-mark { width: 48px; height: 48px; border-width: 4px; font-size: 20px; margin-bottom: 10px; }
	.nd-hero h1 { font-size: 32px; }
	.nd-hero p { font-size: 15px; }
	body[data-path="login"] .login-content.page-card { margin: 0 22px 34px !important; padding: 28px 24px 24px !important; min-height: 0 !important;
		height: auto !important; width: auto !important; max-width: none !important; }
	body[data-path="login"] section.for-login, body[data-path="login"] section.for-email-login { min-height: 0 !important; height: auto !important; }
	body[data-path="login"] .login-content.page-card::before { transform: rotate(2deg) translate(6px, 8px); }
	body[data-path="login"] .login-content.page-card::after { transform: rotate(-3deg) translate(-8px, 10px); }
	body[data-path="login"] .page-card-head h4 { font-size: 26px !important; }
}

/* Nairobi at sunset over the whole page, darkened to deep teal so the words and the card stand out */
body[data-path="login"]::before {
	content: ""; position: fixed; inset: 0; z-index: 0;
	background: linear-gradient(180deg, rgba(10, 42, 46, .35) 0%, rgba(10, 42, 46, .55) 45%, rgba(10, 42, 46, .85) 100%),
		url("/assets/nduwaga/images/login-nairobi.jpg") center 35% / cover no-repeat;
	/* a soft focus: the city behind, the card in front (and a small photo kept from looking stretched) */
	filter: blur(2.5px) saturate(1.1); transform: scale(1.06);
}
body[data-path="login"] main, body[data-path="login"] .page-content-wrapper { position: relative; z-index: 1; }
body[data-path="login"] main.container { max-width: none !important; width: 100% !important; }
.nd-hero { color: #fff; margin: 6vh auto 26px; }
.nd-mark { border-color: #fff; background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(4px); }
.nd-hero h1 { color: #fff; text-shadow: 0 2px 22px rgba(0, 0, 0, .45); }
.nd-hero p { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.nd-hero .nd-cos { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nd-hero .nd-cos span { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .3px;
	background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(4px); }
/* the card a touch see-through over the city; the cards behind it in light glass and deep teal */
body[data-path="login"] .login-content.page-card { background: rgba(255, 255, 255, .96) !important; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55) !important; }
body[data-path="login"] .login-content.page-card::before { background: #0e3a3f; }
body[data-path="login"] .login-content.page-card::after { background: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
body[data-path="login"] section.for-login, body[data-path="login"] section.for-email-login,
body[data-path="login"] section.for-forgot, body[data-path="login"] section.for-login-with-email-link { display: flex; flex-direction: column; align-items: center; }
body[data-path="login"] .login-content.page-card { width: min(460px, calc(100% - 44px)) !important; margin: 0 auto !important; }
@media (max-width: 560px) {
	.nd-hero { margin-top: 30px; }
	.nd-hero .nd-cos { display: none; }
}
