/* Servanza website, login and public pages. Solid surfaces, no blur or glow. */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap");

:root {
	--np-base: #f3f5f8;
	--np-surface: #ffffff;
	--np-accent: #0b7a64;
	--np-accent-ink: #ffffff;
	--np-navy: #0e2240;
	--np-ink: #101828;
	--np-muted: #5b6474;
	--np-line: #e3e7ee;
	--np-focus: rgba(11, 122, 100, 0.2);
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--np-base: #0f1117; --np-surface: #161a27; --np-accent: #34d399; --np-accent-ink: #062b22;
		--np-navy: #0b1020; --np-ink: #eef1f7; --np-muted: #9aa3b5; --np-line: #262c3d; --np-focus: rgba(52, 211, 153, 0.22);
	}
}
html { background: var(--np-base); }
body { background: var(--np-base) !important; color: var(--np-ink); font-family: "DM Sans", system-ui, sans-serif; }
.np-bg { display: none !important; }

.navbar, .web-footer { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.web-footer .footer-powered, .footer-powered { display: none !important; }

.page-card, .for-login .page-card, .for-forgot .page-card, .for-signup .page-card {
	background: var(--np-surface) !important;
	border: 1px solid var(--np-line) !important;
	border-radius: 16px !important;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.06) !important;
	padding: 34px 32px !important;
}
.page-card-head { text-align: left; }
.page-card-head img, .page-card-head .app-logo { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.page-card-head h4, .page-card-head .page-card-title {
	font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: var(--np-ink);
}
.page-card .form-control, .page-card input {
	background: var(--np-surface) !important; color: var(--np-ink) !important;
	border: 1px solid var(--np-line) !important; border-radius: 10px !important; height: 44px; font-size: 14.5px;
}
.page-card .form-control:focus, .page-card input:focus { border-color: var(--np-accent) !important; box-shadow: 0 0 0 4px var(--np-focus) !important; }
.btn-primary, .btn-primary:focus {
	background: var(--np-accent) !important; border: 0 !important; color: var(--np-accent-ink) !important;
	border-radius: 10px !important; font-weight: 600; height: 44px; box-shadow: none !important; transition: filter .15s, transform .15s;
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-primary:active { transform: translateY(1px); }
.page-card a { color: var(--np-accent); font-weight: 500; }
.login-with-email-link .btn, .social-login-buttons .btn-default {
	background: transparent !important; border: 1px solid var(--np-line) !important; border-radius: 10px !important; height: 44px; color: var(--np-ink) !important;
}

/* ---------- login: brand panel on the left, form on the right ---------- */
.np-login-aside { display: none; }
body[data-path="login"] .np-login-aside {
	display: flex; flex-direction: column; justify-content: space-between; position: fixed; inset: 0 auto 0 0; width: 44vw; padding: 48px 56px;
	background: var(--np-navy); color: #e8edf6; overflow: hidden;
}
body[data-path="login"] .np-login-aside::after {
	content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%;
	border: 70px solid rgba(255, 255, 255, 0.04);
}
.np-la-brand { display: flex; align-items: center; gap: 16px; font-size: 30px; font-weight: 700; letter-spacing: -0.01em; color: #fff; position: relative; }
.np-la-brand img { width: 64px; height: 64px; border-radius: 16px; }
.np-la-brand span { display: flex; flex-direction: column; line-height: 1.05; }
.np-la-brand span b { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.np-la-brand span small { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.8; margin-top: 4px; }
.np-la-main { position: relative; max-width: 460px; }
.np-la-main h2 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: #fff; margin: 0 0 26px; }
.np-la-main ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.np-la-main li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #c9d3e3; line-height: 1.45; }
.np-la-main li i { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 16px;
	background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.np-la-foot { position: relative; font-size: 12.5px; color: #8a97ad; }
body[data-path="login"] #page-login { margin-left: 44vw; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
body[data-path="login"] #page-login main { max-width: 440px; width: 100%; margin: 0 auto !important; }
body[data-path="login"] .navbar { display: none !important; }
body[data-path="login"] .web-footer { display: none !important; }
@media (max-width: 900px) {
	/* phones: the brand panel becomes a short strip above the form (logo + name only) */
	body[data-path="login"] .np-login-aside { display: block; position: fixed; inset: 0 0 auto 0; width: auto; height: 80px; min-height: 0; padding: 14px 16px; z-index: 5; }
	body[data-path="login"] .np-login-aside .np-la-main, body[data-path="login"] .np-login-aside .np-la-foot { display: none; }
	body[data-path="login"] .np-login-aside::after { display: none; }
	body[data-path="login"] .np-la-brand img { width: 48px; height: 48px; border-radius: 12px; }
	body[data-path="login"] .np-la-brand span b { font-size: 26px; }
	body[data-path="login"] .np-la-brand span small { font-size: 13px; }
	body[data-path="login"] #page-login { margin-left: 0; padding: 96px 16px 24px; min-height: 100vh; align-items: flex-start; }
}

@keyframes np-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
	.page-card { animation: np-rise .5s cubic-bezier(0.16, 1, 0.3, 1) both; }
	.np-la-main { animation: np-rise .6s .05s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
body[data-path="login"] .page-card { max-width: 420px !important; width: 100% !important; margin: 0 auto; }
body[data-path="login"] .page-card-head { max-width: 420px; margin: 0 auto 18px; text-align: left; }
body[data-path="login"] .page-card-head h4 { font-size: 28px !important; font-weight: 700 !important; letter-spacing: -.02em; margin: 0 0 4px; color: var(--np-ink); }
body[data-path="login"] .page-card-head .np-sub { color: var(--np-muted); font-size: 14.5px; margin: 0; }
body[data-path="login"] .page-card-head img { display: none; }
body[data-path="login"] .btn-login { font-size: 15px !important; }

body[data-path="login"] .np-first { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--np-muted); }
body[data-path="login"] .np-first a { color: var(--np-accent, #0b7a64); font-weight: 600; }
