/* Login-only presentation; shared pages retain their existing styles. */
.login-page .site-header { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); }
.login-page .nav-wrap { height: 102px; }
.login-page .brand { padding: 6px; background: transparent; }
.login-page .brand img { height: 82px; width: auto; }
.login-page .main-nav { color: var(--green); }
.login-page .menu-toggle span { background: var(--green); }
.login-main { padding: 64px 20px 72px; background: radial-gradient(ellipse at top left, #e8eddf, transparent 65%), var(--cream); }
.login-shell { width: min(100%, 1000px); margin: auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(23,63,53,.08); }
.login-intro { display: flex; flex-direction: column; justify-content: center; padding: 54px 44px; background: linear-gradient(145deg, #285c4d, #123c30); color: white; position: relative; overflow: hidden; }
.login-intro::after { content: ''; position: absolute; width: 340px; height: 340px; border: 1px solid rgba(182,207,125,.16); border-radius: 50%; right: -180px; bottom: -190px; box-shadow: 0 0 0 45px rgba(182,207,125,.04), 0 0 0 90px rgba(182,207,125,.03); pointer-events: none; }
.login-intro h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 3.5vw, 44px); font-weight: 500; line-height: 1.22; margin: 26px 0 20px; }
.login-intro p { color: #d8e5de; font-size: 15px; max-width: 330px; margin: 0; }
.login-intro-bottom { margin-top: 64px; font-size: 12px; letter-spacing: .6px; color: #d7e9ac; display: flex; gap: 12px; align-items: center; }
.login-line { width: 28px; height: 1px; background: var(--lime); }
.login-card { background: white; padding: 48px 44px; min-width: 0; }
.login-card h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--green); margin: 12px 0; }
.login-subtitle { margin: 0 0 30px; color: var(--muted); font-size: 14px; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.login-field input { display: block; width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #d8dfd9; border-radius: 10px; background: #fcfdfb; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.login-field input::placeholder { color: #8a948d; font-size: 14px; }
.login-field input:focus { outline: none; border-color: var(--green2); box-shadow: 0 0 0 3px rgba(40,92,77,.12); }
.login-field input[type=number] { appearance: textfield; -moz-appearance: textfield; }
.login-field input::-webkit-inner-spin-button, .login-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.login-page .password-container { position: relative; }
.login-page .password-container input { padding-right: 54px; }
.login-page .toggle-password { position: absolute; right: 5px; top: 5px; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 7px; color: var(--green); cursor: pointer; display: grid; place-items: center; }
.login-page .toggle-password i { display: block; width: 20px; height: 13px; border: 1.6px solid currentColor; border-radius: 80% 20%; transform: rotate(45deg); position: relative; }
.login-page .toggle-password i::before { content: ''; position: absolute; width: 5px; height: 5px; border: 1.5px solid currentColor; border-radius: 50%; top: 2px; left: 6px; }
.login-page .toggle-password .fa-eye-slash::after { content: ''; position: absolute; width: 1.5px; height: 24px; background: currentColor; top: -6px; left: 8px; }
.login-page .toggle-password:focus-visible, .login-register a:focus-visible, .login-page #abtn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.login-page #abtn { width: 100%; min-height: 52px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; background: var(--green); color: white; transition: background .2s; }
.login-page #abtn:hover { background: var(--green2); }
.login-page .alert { padding: 12px 14px; margin-bottom: 18px; border-radius: 8px; font-size: 14px; overflow-wrap: anywhere; }
.login-page .alert-danger { background: #fff0ee; color: #9b2c26; border: 1px solid #f0cdc9; }
.login-page .alert-success { background: #eef6e9; color: #285c4d; border: 1px solid #d4e7cb; }
.login-register { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
.login-register a { color: var(--green); font-weight: 700; white-space: nowrap; }
.login-register a:hover { text-decoration: underline; }
@media (max-width: 900px) { .login-page .main-nav { background: var(--cream); } .login-main { padding: 40px 20px; } .login-intro, .login-card { padding: 36px 28px; } }
@media (max-width: 640px) { .login-page .nav-wrap { height: 84px; } .login-page .brand img { height: 66px; } .login-main { padding: 24px 16px 40px; } .login-shell { grid-template-columns: 1fr; border-radius: 18px; } .login-intro { padding: 28px; } .login-intro h1 { font-size: 30px; margin: 14px 0; } .login-intro p { font-size: 13px; } .login-intro-bottom { display: none; } .login-card { padding: 30px 24px; } .login-card h2 { font-size: 30px; } .login-intro .eyebrow { font-size: 10px; letter-spacing: 1.8px; } }

.login-page #abtn { gap: 10px; }
.login-page #abtn:disabled { cursor: wait; opacity: .85; }
.login-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: login-spin .8s linear infinite; }
.is-loading .login-spinner { display: inline-block; }
.login-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .login-spinner { animation: none; } }
