/* ── Design tokens ──────────────────────────────────────────── */
:root {
    --scene:        #f7faf5;
    --card:         #ffffff;
    --ink:          #121817;
    --muted:        #5f6b66;
    --line:         #dfe8dc;
    --dark:         #07100d;
    --dark-2:       #173921;
    --accent:       #39a91e;
    --accent-deep:  #1f7f16;
    --focus:        rgba(57, 169, 30, 0.18);
    --gold:         #8ee063;
    --radius-card:  22px;
}

*  { box-sizing: border-box; }

html, body { width: 100%; min-height: 100%; }

body.auth-shell {
    margin: 0;
    font-family: 'Manrope', 'Inter', sans-serif;
    color: var(--ink);
    background: var(--scene);
    min-height: 100dvh;
}

body.auth-shell main { min-height: 100dvh; }

.login-simple {
    position: relative;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 245, 0.84) 48%, rgba(228, 242, 221, 0.74) 100%),
        url("data:image/svg+xml,%3Csvg width='960' height='640' viewBox='0 0 960 640' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='.18'%3E%3Cpath fill='%23060707' d='M98 456c175 116 462 130 674-70-191 78-436 84-674 70Z'/%3E%3Cpath fill='%2339a91e' d='M236 416c183 78 421 34 546-208-30 169-186 316-468 282-39-5-63-25-78-74Z'/%3E%3Cpath fill='%23060707' d='M298 368c62-86 151-88 211-34 30 27 19 59-24 59H383c-24 0-45 9-85 47Z'/%3E%3Cpath fill='%2339a91e' d='M507 188c77-112 177-114 236-62-58 139-165 171-236 62ZM478 209c-87-98-184-84-233-24 85 121 188 119 233 24Z'/%3E%3Cpath d='M625 493c110-81 178-204 202-383' fill='none' stroke='%23060707' stroke-width='46' stroke-linecap='round'/%3E%3Cpath d='M526 386c0-92 0-154 0-216M538 190c58-15 111-38 158-70M458 211c-58-18-111-34-166-42' fill='none' stroke='%23ffffff' stroke-width='20' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #ffffff 0%, #f7faf5 100%);
    background-position: center, center 46%, center;
    background-repeat: no-repeat;
    background-size: cover, min(92vw, 860px) auto, cover;
    overflow: hidden;
}

.login-simple::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 18%, rgba(57, 169, 30, 0.18), transparent 24rem),
        radial-gradient(circle at 78% 82%, rgba(6, 7, 7, 0.08), transparent 22rem);
    pointer-events: none;
}

.login-simple::after {
    content: "NLE";
    position: absolute;
    right: max(24px, 7vw);
    bottom: max(18px, 6vh);
    color: rgba(6, 7, 7, 0.045);
    font-size: clamp(5rem, 17vw, 13rem);
    font-weight: 900;
    line-height: 0.8;
    pointer-events: none;
}

.login-simple-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    display: grid;
}

.login-simple-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(223, 232, 220, 0.92);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 22px 58px rgba(18, 24, 23, 0.16);
    backdrop-filter: blur(14px);
}

.login-simple .entry-header {
    text-align: left;
}

.login-simple .entry-header h2 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 1.75rem;
}

.login-simple .entry-header p {
    margin-bottom: 22px;
}

@media (max-width: 540px) {
    .login-simple {
        align-items: start;
        padding: 22px 14px;
        background-position: center, center 38%, center;
        background-size: cover, 640px auto, cover;
    }

    .login-simple::after {
        display: none;
    }

    .login-simple-card {
        padding: 22px 18px 20px;
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(18, 24, 23, 0.08);
    }
}


/* ── Scene background ───────────────────────────────────────── */
.login-scene {
    position: relative;
    min-height: 100dvh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scene-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 54, 69, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 54, 69, 0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
}

.scene-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(72px);
    pointer-events: none;
}

.scene-glow-a {
    width: 380px; height: 380px;
    background: rgba(57, 169, 30, 0.16);
    top: -90px; right: 5%;
}

.scene-glow-b {
    width: 300px; height: 300px;
    background: rgba(6, 7, 7, 0.12);
    left: 7%; bottom: -80px;
}


/* ── Shell (two-column card) ────────────────────────────────── */
.login-shell {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 2px 0 rgba(255,255,255,0.6) inset,
        0 32px 64px rgba(17, 24, 39, 0.22);
    background: var(--card);
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

/* single-column variant (kept for other auth pages) */
.login-shell--single {
    max-width: 500px;
    grid-template-columns: 1fr;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}


/* ── Brand / left panel ─────────────────────────────────────── */
.brand-panel {
    padding: 46px 48px;
    color: #d0e6ef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background:
        linear-gradient(150deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%),
        linear-gradient(130deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.brand-panel--logo-first {
    align-items: center;
    text-align: center;
    color: var(--ink);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 250, 245, 0.98) 62%, rgba(235, 246, 231, 0.96) 100%),
        #ffffff;
}

.auth-logo-stage {
    position: relative;
    width: min(100%, 520px);
    min-height: 310px;
    display: grid;
    place-items: center;
    margin: 0 auto 26px;
    padding: 30px 28px 38px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(223, 232, 220, 0.95);
    box-shadow: 0 24px 60px rgba(18, 24, 23, 0.12);
    overflow: hidden;
}

.auth-logo-stage::before,
.auth-logo-stage::after {
    content: "";
    position: absolute;
    width: 74%;
    height: 25px;
    border-radius: 999px;
    border-top: 9px solid #060707;
    border-bottom: 8px solid var(--accent);
    opacity: 0.94;
    transform: rotate(-16deg);
}

.auth-logo-stage::before {
    top: -4px;
    right: -22%;
}

.auth-logo-stage::after {
    left: -24%;
    bottom: 8px;
}

.auth-logo-stage .nle-brand-mark {
    position: relative;
    z-index: 1;
}

.brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.brand-panel--logo-first::before {
    background-image:
        radial-gradient(rgba(57, 169, 30, 0.09) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
}

.brand-topline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(57, 169, 30, 0.2);
    background: rgba(57, 169, 30, 0.08);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
    color: var(--accent-deep);
}

.brand-dot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(57, 169, 30, 0.65);
}

.brand-panel h1 {
    margin: 18px 0 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

.brand-panel > p:not(.brand-topline) {
    margin: 0 0 28px;
    max-width: 48ch;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.signal-cards {
    display: grid;
    gap: 10px;
    width: min(100%, 520px);
}

.signal-cards article {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(223, 232, 220, 0.95);
    animation: fadeRise 0.6s ease both;
    transition: background 0.2s;
}

.signal-cards article:nth-child(2) { animation-delay: 0.1s; }
.signal-cards article:nth-child(3) { animation-delay: 0.2s; }
.signal-cards article:hover { background: #ffffff; }

.signal-cards > article > i {
    font-size: 1.1rem;
    color: var(--accent);
    margin-top: 2px;
    justify-self: center;
}

.signal-cards h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
}

.signal-cards p {
    margin: 3px 0 0;
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.5;
}


/* ── Entry / right panel ────────────────────────────────────── */
.entry-panel {
    display: grid;
    place-items: center;
    padding: 40px 36px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.7), rgba(255,255,255,0.95)),
        #f5f0e8;
}

.login-shell--single .entry-panel {
    padding: 0;
    background: transparent;
}

.entry-card {
    width: 100%;
    max-width: 370px;
    background: #fffefb;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 28px 24px;
    box-shadow: 0 10px 32px rgba(17, 54, 69, 0.1);
}

.auth-card-brand {
    margin-bottom: 20px;
}

.auth-status-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: rgba(57, 169, 30, 0.1);
    color: var(--accent-deep);
    font-size: 1.8rem;
}

.auth-status-icon--danger {
    background: #fff0ee;
    color: #b42318;
}

.kicker {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.entry-header h2 {
    margin: 7px 0 5px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a2433;
    line-height: 1.15;
}

.entry-header p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}


/* ── Form controls ──────────────────────────────────────────── */
.control-group { margin-bottom: 16px; }

.form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3e4e60;
}

.control-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 11px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.control-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--focus);
}

.control-wrap > i {
    color: #8a96a8;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.control-wrap .form-control,
.control-input {
    flex: 1;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: 0;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    min-width: 0;
    padding: 9px 0;
}

.control-wrap .form-control:focus,
.control-input:focus {
    border: 0;
    box-shadow: none;
    background: transparent;
}

.control-wrap .form-control::placeholder,
.control-input::placeholder { color: #a0acba; }

.password-toggle {
    border: 0;
    background: transparent;
    color: #7a8899;
    border-radius: 6px;
    padding: 4px 5px;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.15s, background 0.15s;
}

.password-toggle:hover {
    color: #1e2f40;
    background: #f0e8de;
}

.invalid-feedback { font-size: 0.8rem; margin-top: 4px; color: #c0392b; }


/* ── Tools row ──────────────────────────────────────────────── */
.entry-tools {
    margin: 6px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.form-check-input { margin-top: 0; accent-color: var(--accent); }

.form-check-label {
    color: #4d5e72;
    font-size: 0.87rem;
}

.reset-link {
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
}

.reset-link:hover {
    color: var(--accent-deep);
    text-decoration: underline;
}


/* ── Submit button ──────────────────────────────────────────── */
.btn-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(115deg, var(--accent) 0%, #54bf34 100%);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    width: 100%;
}

.btn-entry:hover {
    color: #fff;
    background: linear-gradient(115deg, var(--accent-deep) 0%, #39a91e 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(57, 169, 30, 0.28);
}

.btn-entry:active {
    transform: translateY(0);
    box-shadow: none;
}


/* ── Alert ──────────────────────────────────────────────────── */
.alert {
    border-radius: 10px;
    font-size: 0.88rem;
}

.alert-danger {
    background: #fff0ee;
    border-color: #f5c6c0;
    color: #8b2117;
}


/* ── Footer ─────────────────────────────────────────────────── */
.entry-foot {
    margin: 18px 0 0;
    text-align: center;
    color: #9daab8;
    font-size: 0.76rem;
}


/* ── Entrance animation ─────────────────────────────────────── */
.rise-in { animation: fadeRise 0.65s ease both; }

@keyframes fadeRise {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .login-scene { padding: 16px; }

    .login-shell {
        max-width: 640px;
        grid-template-columns: 1fr;
    }

    .brand-panel {
        padding: 24px 20px 22px;
    }

    .auth-logo-stage {
        min-height: 240px;
        margin-bottom: 18px;
        padding: 24px 18px 32px;
        border-radius: 18px;
    }

    .brand-panel h1 {
        margin-top: 14px;
        font-size: 1.75rem;
    }

    .brand-panel > p:not(.brand-topline) { margin-bottom: 20px; }

    .entry-panel { padding: 28px 24px; }
}

@media (max-width: 540px) {
    .login-scene { padding: 12px; }

    .brand-panel h1 { font-size: 1.55rem; }

    .auth-logo-stage {
        min-height: 210px;
        margin-bottom: 14px;
    }

    .signal-cards {
        display: none;
    }

    .entry-card { padding: 24px 18px 20px; }

    .entry-header h2 { font-size: 1.7rem; }

    .entry-tools {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .scene-glow { display: none; }
}

/* Water production login */
.login-scene {
    background:
        linear-gradient(135deg, rgba(237, 251, 255, 0.96) 0%, rgba(248, 255, 253, 0.92) 48%, rgba(226, 248, 244, 0.94) 100%),
        linear-gradient(180deg, #f7fcff 0%, #eefbf8 100%);
}

.login-scene::before {
    content: "";
    position: absolute;
    inset: auto -8% -18% -8%;
    height: 42%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(23, 167, 207, 0.12) 34%, rgba(12, 99, 159, 0.16) 100%),
        repeating-radial-gradient(ellipse at 50% 120%, rgba(25, 154, 190, 0.22) 0 2px, transparent 2px 26px);
    transform: rotate(-1.5deg);
    transform-origin: center bottom;
    pointer-events: none;
}

.water-login-shell {
    max-width: 1160px;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    border: 1px solid rgba(184, 222, 228, 0.7);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(9, 52, 80, 0.2);
}

.water-panel {
    justify-content: start;
    min-height: 650px;
    color: #0c3442;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.88) 0%, rgba(229, 249, 253, 0.84) 46%, rgba(217, 247, 239, 0.92) 100%);
}

.water-panel::before {
    background-image:
        linear-gradient(120deg, rgba(16, 127, 166, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(16, 127, 166, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.55;
}

.water-panel::after {
    content: "";
    position: absolute;
    left: -12%;
    right: -12%;
    bottom: -18%;
    height: 46%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(28, 158, 203, 0.15) 44%, rgba(5, 104, 166, 0.22) 100%);
    border-radius: 50% 50% 0 0;
    pointer-events: none;
}

.water-panel-top,
.water-panel > .brand-topline,
.water-panel > h1,
.water-panel > p,
.water-panel .water-signals,
.water-visual {
    position: relative;
    z-index: 1;
}

.water-panel-top {
    margin-bottom: 42px;
}

.water-panel .brand-topline {
    color: #087199;
    background: rgba(227, 248, 255, 0.84);
    border-color: rgba(16, 127, 166, 0.25);
}

.water-panel .brand-dot {
    background: #13a8d3;
    box-shadow: 0 0 8px rgba(19, 168, 211, 0.7);
}

.water-panel h1 {
    max-width: 11ch;
    margin-top: 18px;
    color: #072a35;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(2.15rem, 4.3vw, 4.4rem);
    font-weight: 800;
    line-height: 1.03;
}

.water-panel > p:not(.brand-topline) {
    max-width: 54ch;
    color: #426572;
    font-size: 1rem;
    line-height: 1.7;
}

.water-visual {
    min-height: 245px;
    width: min(100%, 560px);
    margin: 8px 0 22px;
}

.water-bottle {
    position: absolute;
    left: 50%;
    top: 12px;
    width: 118px;
    height: 218px;
    transform: translateX(-50%) rotate(6deg);
    border: 3px solid rgba(7, 97, 133, 0.46);
    border-radius: 30px 30px 24px 24px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(235, 251, 255, 0.3) 42%, rgba(255, 255, 255, 0.76)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0 34%, rgba(55, 179, 219, 0.36) 35% 100%);
    box-shadow: 0 26px 50px rgba(6, 75, 115, 0.18);
    overflow: hidden;
}

.water-bottle::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: -26px;
    height: 46px;
    border: 3px solid rgba(7, 97, 133, 0.46);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: rgba(239, 252, 255, 0.86);
}

.bottle-cap {
    position: absolute;
    left: 34px;
    right: 34px;
    top: 14px;
    height: 14px;
    border-radius: 8px;
    background: #0e8fb8;
}

.bottle-label {
    position: absolute;
    left: 17px;
    right: 17px;
    top: 82px;
    display: grid;
    place-items: center;
    min-height: 52px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: #087199;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 0 1px rgba(19, 168, 211, 0.18);
}

.bottle-wave {
    position: absolute;
    left: -22%;
    right: -22%;
    height: 54px;
    border-radius: 50%;
    background: rgba(19, 168, 211, 0.35);
}

.bottle-wave-a { bottom: 30px; transform: rotate(-5deg); }
.bottle-wave-b { bottom: 10px; transform: rotate(7deg); opacity: 0.72; }

.water-ripple {
    position: absolute;
    left: 50%;
    border: 2px solid rgba(19, 168, 211, 0.28);
    border-radius: 50%;
    transform: translateX(-50%);
}

.water-ripple-a {
    width: 380px;
    height: 74px;
    bottom: 12px;
}

.water-ripple-b {
    width: 500px;
    height: 108px;
    bottom: -6px;
    opacity: 0.56;
}

.water-drop {
    position: absolute;
    width: 38px;
    height: 54px;
    border-radius: 50% 50% 56% 44%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(26, 169, 210, 0.38));
    border: 1px solid rgba(18, 135, 177, 0.28);
    transform: rotate(45deg);
    box-shadow: 0 18px 30px rgba(6, 75, 115, 0.12);
}

.water-drop-a { left: 12%; top: 42px; }
.water-drop-b { right: 16%; top: 92px; width: 28px; height: 40px; opacity: 0.78; }

.water-signals article {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(184, 222, 228, 0.88);
}

.water-signals > article > i {
    color: #0e8fb8;
}

.water-login-shell .entry-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 252, 251, 0.96));
}

.water-login-shell .entry-card {
    border-color: rgba(184, 222, 228, 0.9);
    box-shadow: 0 16px 42px rgba(9, 52, 80, 0.13);
}

.water-login-shell .kicker,
.water-login-shell .reset-link {
    color: #087199;
}

.water-login-shell .control-wrap:focus-within {
    border-color: #13a8d3;
    box-shadow: 0 0 0 4px rgba(19, 168, 211, 0.17);
}

.water-login-shell .btn-entry {
    background: linear-gradient(115deg, #0e8fb8 0%, #19b68f 100%);
}

.water-login-shell .btn-entry:hover {
    background: linear-gradient(115deg, #087199 0%, #0f9b79 100%);
    box-shadow: 0 14px 24px rgba(14, 143, 184, 0.28);
}

@media (max-width: 900px) {
    .water-login-shell {
        max-width: 680px;
        grid-template-columns: 1fr;
    }

    .water-panel {
        min-height: auto;
        padding-bottom: 26px;
    }

    .water-panel-top {
        margin-bottom: 24px;
    }

    .water-panel h1 {
        max-width: 100%;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .water-visual {
        min-height: 190px;
        margin-top: 0;
    }

    .water-bottle {
        width: 92px;
        height: 170px;
    }

    .water-ripple-a { width: 280px; }
    .water-ripple-b { width: 380px; }
}

@media (max-width: 540px) {
    .water-panel {
        padding: 20px 18px 18px;
    }

    .water-panel-top {
        margin-bottom: 18px;
    }

    .water-panel h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .water-panel > p:not(.brand-topline) {
        font-size: 0.92rem;
        margin-bottom: 12px;
    }

    .water-visual {
        min-height: 142px;
        margin-bottom: 8px;
    }

    .water-bottle {
        width: 72px;
        height: 132px;
        top: 8px;
    }

    .bottle-label {
        left: 10px;
        right: 10px;
        top: 54px;
        min-height: 38px;
        font-size: 0.78rem;
    }

    .bottle-cap {
        left: 22px;
        right: 22px;
        top: 10px;
    }

    .water-drop,
    .water-ripple-b {
        display: none;
    }

    .water-ripple-a {
        width: 220px;
        height: 48px;
        bottom: 2px;
    }
}

/* Professional water portal refinement */
.login-scene > .scene-grid {
    display: none;
}

.login-scene {
    background:
        linear-gradient(135deg, rgba(245, 251, 252, 0.98) 0%, rgba(238, 250, 249, 0.98) 48%, rgba(232, 247, 250, 0.98) 100%);
}

.login-scene::before {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -22%;
    height: 48%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(21, 143, 179, 0.10) 42%, rgba(9, 95, 142, 0.18) 100%);
    border-radius: 50% 50% 0 0;
    transform: rotate(-1deg);
    pointer-events: none;
}

.water-login-shell {
    max-width: 1140px;
    border-radius: 18px;
    border-color: rgba(174, 214, 220, 0.78);
    box-shadow: 0 26px 70px rgba(11, 55, 77, 0.18);
}

.water-panel {
    min-height: 640px;
    padding: 42px 46px;
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.94) 0%, rgba(236, 250, 252, 0.94) 52%, rgba(225, 246, 241, 0.96) 100%);
}

.water-panel::before {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.64) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(25deg, rgba(17, 139, 172, 0.08) 0%, rgba(17, 139, 172, 0) 48%);
    opacity: 1;
}

.water-panel::after {
    bottom: -20%;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(16, 153, 191, 0.12) 52%, rgba(7, 102, 151, 0.2) 100%);
}

.water-panel-top {
    margin-bottom: 34px;
}

.water-panel .brand-topline {
    margin-bottom: 16px;
    color: #075f82;
    background: rgba(232, 249, 253, 0.86);
    border-color: rgba(13, 124, 160, 0.18);
}

.water-panel h1 {
    max-width: 13ch;
    margin: 0 0 14px;
    color: #082f3d;
    font-size: clamp(2.2rem, 3.5vw, 3.75rem);
    letter-spacing: 0;
}

.water-panel > p:not(.brand-topline) {
    max-width: 58ch;
    margin-bottom: 18px;
    color: #3f6370;
}

.water-assurance-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.water-assurance-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(143, 202, 213, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    color: #245667;
    font-size: 0.78rem;
    font-weight: 800;
}

.water-assurance-row i {
    color: #0d8eb7;
    font-size: 0.95rem;
}

.water-visual {
    min-height: 220px;
    margin: 2px 0 20px;
}

.water-bottle {
    border-color: rgba(10, 109, 145, 0.38);
    box-shadow: 0 24px 44px rgba(8, 77, 111, 0.16);
}

.water-drop {
    display: none;
}

.water-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}

.water-signals article {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 13px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.water-signals h3 {
    font-size: 0.86rem;
}

.water-signals p {
    font-size: 0.78rem;
}

.water-login-shell .entry-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 252, 252, 0.98));
}

.water-login-shell .entry-card {
    border-radius: 14px;
    background: #ffffff;
}

.water-login-shell .entry-header h2 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #102f3c;
}

@media (max-width: 900px) {
    .water-panel {
        min-height: auto;
        padding: 28px 24px 24px;
    }

    .water-panel h1 {
        max-width: 100%;
        font-size: clamp(2rem, 7vw, 2.85rem);
    }

    .water-signals {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .water-panel {
        padding: 20px 18px;
    }

    .water-assurance-row {
        margin-bottom: 14px;
    }

    .water-assurance-row span {
        width: 100%;
        justify-content: flex-start;
    }

    .water-panel h1 {
        font-size: 1.85rem;
    }

    .water-visual {
        min-height: 120px;
    }
}

/* Professional login refinement - final overrides */
:root {
    --login-scene: #f4f8f7;
    --login-card: #ffffff;
    --login-ink: #10201d;
    --login-muted: #5d6f6b;
    --login-line: #dbe7e4;
    --login-soft: #eef7f5;
    --login-accent: #179c8e;
    --login-accent-green: #39a91e;
    --login-accent-deep: #0c746a;
    --login-focus: rgba(23, 156, 142, 0.18);
}

body.auth-shell {
    background: var(--login-scene);
    color: var(--login-ink);
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    letter-spacing: 0;
}

.login-scene {
    align-items: center;
    padding: clamp(16px, 3vw, 34px);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 249, 0.9) 48%, rgba(229, 244, 242, 0.94)),
        linear-gradient(180deg, #ffffff 0%, #eef6f5 100%);
}

.login-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    height: auto;
    border-radius: 0;
    transform: none;
    background-image:
        linear-gradient(rgba(13, 89, 97, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 89, 97, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 78%, transparent 100%);
    pointer-events: none;
}

.login-scene::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -24%;
    height: 44%;
    border-radius: 50% 50% 0 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(23, 156, 142, 0.1) 45%, rgba(9, 86, 101, 0.18));
    pointer-events: none;
}

.water-login-shell {
    width: min(100%, 1120px);
    max-width: 1120px;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    border: 1px solid rgba(193, 218, 215, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 28px 70px rgba(11, 54, 63, 0.18);
    backdrop-filter: blur(18px);
}

.water-panel {
    min-height: 640px;
    padding: clamp(30px, 4vw, 50px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 248, 246, 0.92) 55%, rgba(222, 242, 237, 0.96)),
        #edf8f6;
}

.water-panel::before {
    background:
        linear-gradient(130deg, rgba(255, 255, 255, 0.68), transparent 52%),
        linear-gradient(26deg, rgba(23, 156, 142, 0.1), transparent 42%);
    opacity: 1;
}

.water-panel::after {
    display: none;
}

.water-panel-top {
    margin-bottom: clamp(26px, 4vw, 42px);
}

.water-panel .brand-topline {
    margin: 0;
    min-height: 32px;
    padding: 6px 12px;
    color: var(--login-accent-deep);
    background: rgba(255, 255, 255, 0.68);
    border-color: rgba(23, 156, 142, 0.22);
}

.water-panel .brand-dot {
    width: 8px;
    height: 8px;
    background: var(--login-accent-green);
    box-shadow: 0 0 0 5px rgba(57, 169, 30, 0.12);
}

.water-panel h1 {
    max-width: 13ch;
    margin: 18px 0 14px;
    color: #082f35;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: clamp(2.25rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: 0;
}

.water-panel .brand-intro {
    max-width: 58ch;
    margin: 0 0 22px;
    color: #496a68;
    font-size: 1rem;
    line-height: 1.7;
}

.water-panel-top,
.water-panel > .brand-topline,
.water-panel > h1,
.water-panel .brand-intro,
.water-panel .water-assurance-row,
.water-panel .operations-panel,
.water-panel .water-signals {
    position: relative;
    z-index: 1;
}

.water-assurance-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.water-assurance-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(182, 214, 210, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #254f4e;
    font-size: 0.8rem;
    font-weight: 800;
}

.water-assurance-row i {
    color: var(--login-accent);
}

.operations-panel {
    width: min(100%, 520px);
    margin-bottom: 22px;
    padding: 18px;
    border: 1px solid rgba(178, 211, 207, 0.92);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 20px 46px rgba(15, 72, 81, 0.1);
}

.operations-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: #53706e;
    font-size: 0.82rem;
    font-weight: 800;
}

.operations-panel-header strong {
    color: var(--login-accent-deep);
}

.operations-meter {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4efed;
}

.operations-meter span {
    display: block;
    width: var(--meter);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--login-accent), var(--login-accent-green));
}

.operations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.operations-grid div {
    min-height: 68px;
    padding: 12px;
    border: 1px solid rgba(222, 233, 231, 0.95);
    border-radius: 8px;
    background: #ffffff;
}

.operations-grid span {
    display: block;
    color: #6d807c;
    font-size: 0.75rem;
    font-weight: 800;
}

.operations-grid strong {
    display: block;
    margin-top: 6px;
    color: #0d3539;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.water-signals {
    width: min(100%, 640px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.water-signals article {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    min-height: 112px;
    padding: 14px 12px;
    border-color: rgba(182, 214, 210, 0.88);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.water-signals h3 {
    color: #123638;
    font-size: 0.86rem;
    font-weight: 900;
}

.water-signals p {
    color: #5f7470;
    font-size: 0.78rem;
}

.water-login-shell .entry-panel {
    padding: clamp(28px, 4vw, 46px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 251, 0.98));
}

.water-login-shell .entry-card {
    width: min(100%, 390px);
    max-width: 390px;
    padding: 32px 30px 28px;
    border-color: var(--login-line);
    border-radius: 14px;
    background: var(--login-card);
    box-shadow: 0 16px 42px rgba(12, 55, 62, 0.1);
}

.auth-card-brand {
    margin-bottom: 24px;
}

.water-login-shell .kicker {
    color: var(--login-accent-deep);
}

.water-login-shell .entry-header h2 {
    margin: 8px 0 6px;
    color: #102f35;
    font-family: 'Manrope', 'Inter', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.12;
}

.entry-header p {
    color: var(--login-muted);
}

.form-label {
    color: #344d4a;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.control-wrap {
    min-height: 48px;
    gap: 10px;
    padding: 0 12px;
    border-color: var(--login-line);
    border-radius: 10px;
}

.water-login-shell .control-wrap:focus-within {
    border-color: var(--login-accent);
    background: #fbfffe;
    box-shadow: 0 0 0 4px var(--login-focus);
}

.control-wrap .form-control,
.control-input {
    font-size: 0.92rem;
}

.password-toggle {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.password-toggle:hover,
.password-toggle:focus {
    color: var(--login-accent-deep);
    background: var(--login-soft);
}

.form-check {
    padding: 0;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    margin: 0;
    border-color: #b7c8c5;
    cursor: pointer;
}

.form-check-input:checked {
    border-color: var(--login-accent);
    background-color: var(--login-accent);
}

.form-check-input:focus {
    border-color: var(--login-accent);
    box-shadow: 0 0 0 4px var(--login-focus);
}

.water-login-shell .reset-link {
    color: var(--login-accent-deep);
}

.water-login-shell .btn-entry {
    gap: 9px;
    border-radius: 10px;
    background: linear-gradient(115deg, var(--login-accent-deep), var(--login-accent));
    box-shadow: 0 14px 24px rgba(23, 156, 142, 0.24);
}

.water-login-shell .btn-entry:hover,
.water-login-shell .btn-entry:focus {
    background: linear-gradient(115deg, #095f57, #128f83);
    box-shadow: 0 16px 28px rgba(23, 156, 142, 0.28);
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .water-login-shell {
        width: min(100%, 680px);
        grid-template-columns: 1fr;
    }

    .water-panel {
        min-height: auto;
    }

    .water-panel h1 {
        max-width: 100%;
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .operations-panel {
        width: 100%;
    }

    .water-signals {
        grid-template-columns: 1fr;
    }

    .water-signals article {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .login-scene {
        align-items: start;
        padding: 12px;
    }

    .water-login-shell {
        border-radius: 14px;
    }

    .water-panel,
    .water-login-shell .entry-panel {
        padding: 20px 18px;
    }

    .water-panel-top {
        margin-bottom: 20px;
    }

    .water-panel h1 {
        font-size: 1.85rem;
        line-height: 1.08;
    }

    .water-panel .brand-intro {
        font-size: 0.92rem;
    }

    .water-assurance-row span {
        width: 100%;
    }

    .operations-grid {
        grid-template-columns: 1fr;
    }

    .water-login-shell .entry-card {
        padding: 24px 18px 20px;
        border-radius: 12px;
    }

    .auth-card-brand {
        margin-bottom: 20px;
    }

    .water-login-shell .entry-header h2 {
        font-size: 1.7rem;
    }

    .entry-tools {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}

/* Bottled water production login - image-led professional pass */
.login-scene {
    background:
        linear-gradient(115deg, rgba(250, 253, 252, 0.96), rgba(239, 248, 247, 0.94) 52%, rgba(232, 244, 247, 0.96)),
        #f4f8f7;
}

.water-login-shell {
    max-width: 1180px;
    grid-template-columns: minmax(0, 1.14fr) minmax(372px, 0.86fr);
    border-color: rgba(187, 215, 214, 0.9);
    background: #ffffff;
    box-shadow: 0 30px 78px rgba(10, 43, 55, 0.18);
}

.water-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 660px;
    padding: clamp(28px, 3.6vw, 44px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 248, 247, 0.96)),
        #eff8f7;
}

.water-panel::before {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.86), transparent 46%),
        linear-gradient(0deg, rgba(23, 156, 142, 0.07), transparent 58%);
}

.water-panel-top {
    margin-bottom: 22px;
}

.production-photo-card {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 24px;
    overflow: hidden;
    border: 1px solid rgba(183, 215, 215, 0.88);
    border-radius: 14px;
    background: #dfeeed;
    box-shadow: 0 24px 50px rgba(8, 54, 68, 0.15);
    aspect-ratio: 16 / 8.8;
}

.production-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 36, 45, 0.42) 0%, rgba(8, 36, 45, 0.1) 42%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(180deg, transparent 48%, rgba(7, 34, 42, 0.56) 100%);
    pointer-events: none;
}

.production-photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.production-photo-card figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    display: grid;
    gap: 4px;
    color: #ffffff;
}

.production-photo-card figcaption span {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.86;
}

.production-photo-card figcaption strong {
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.brand-copy-block {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.water-panel .brand-topline {
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.water-panel h1 {
    max-width: 14ch;
    margin-top: 0;
    font-size: clamp(2rem, 3.3vw, 3.35rem);
}

.water-panel .brand-intro {
    max-width: 62ch;
    margin-bottom: 20px;
}

.water-assurance-row {
    margin-top: auto;
    margin-bottom: 0;
}

.water-assurance-row span {
    background: rgba(255, 255, 255, 0.86);
}

.water-signals,
.operations-panel {
    display: none;
}

.water-login-shell .entry-panel {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.water-login-shell .entry-card {
    border-color: rgba(216, 230, 227, 0.95);
    box-shadow: 0 18px 46px rgba(11, 54, 63, 0.1);
}

.water-login-shell .entry-header h2 {
    font-size: 2.05rem;
}

.water-login-shell .btn-entry {
    background: linear-gradient(115deg, #0b746e 0%, #158fbd 100%);
}

.water-login-shell .btn-entry:hover,
.water-login-shell .btn-entry:focus {
    background: linear-gradient(115deg, #075d58 0%, #0c749d 100%);
}

@media (max-width: 980px) {
    .water-login-shell {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .water-panel {
        min-height: auto;
    }

    .production-photo-card {
        aspect-ratio: 16 / 7.6;
    }

    .water-assurance-row {
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    .production-photo-card {
        margin-bottom: 18px;
        border-radius: 12px;
        aspect-ratio: 4 / 3;
    }

    .production-photo-card figcaption {
        left: 14px;
        right: 14px;
        bottom: 13px;
    }

    .production-photo-card figcaption strong {
        font-size: 1.1rem;
    }

    .water-panel h1 {
        font-size: 1.75rem;
    }
}

/* Professional login page polish */
:root {
    --portal-bg: #f5f8f8;
    --portal-ink: #10201f;
    --portal-muted: #5d6c69;
    --portal-line: #dce8e6;
    --portal-panel: #ffffff;
    --portal-teal: #0b766f;
    --portal-teal-2: #1590a8;
    --portal-green: #39a91e;
}

body.auth-shell {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.72), rgba(242,248,247,0.94)),
        var(--portal-bg);
}

.login-scene {
    min-height: 100dvh;
    padding: clamp(18px, 3vw, 36px);
    background:
        linear-gradient(120deg, rgba(255,255,255,0.96), rgba(241,248,247,0.96) 54%, rgba(232,243,245,0.96)),
        var(--portal-bg);
}

.login-scene::before {
    opacity: 0.58;
    background-size: 48px 48px;
}

.login-scene::after {
    height: 34%;
    bottom: -22%;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(11,118,111,0.09) 48%, rgba(21,144,168,0.16));
}

.water-login-shell {
    max-width: 1160px;
    min-height: min(760px, calc(100dvh - 72px));
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    overflow: hidden;
    border: 1px solid rgba(191, 216, 213, 0.92);
    border-radius: 16px;
    background: var(--portal-panel);
    box-shadow: 0 26px 72px rgba(11, 47, 58, 0.16);
}

.water-panel {
    min-height: auto;
    padding: clamp(30px, 4vw, 48px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.88), rgba(239,248,247,0.94)),
        #edf7f6;
}

.water-panel-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 24px;
}

.water-panel-top .nle-brand-mark {
    color: var(--portal-ink);
}

.portal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(11, 118, 111, 0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.76);
    color: var(--portal-teal);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.production-photo-card {
    margin-bottom: 22px;
    border-radius: 12px;
    aspect-ratio: 16 / 8.5;
    box-shadow: 0 22px 52px rgba(9, 55, 67, 0.14);
}

.production-photo-card::after {
    background:
        linear-gradient(90deg, rgba(6, 31, 38, 0.52) 0%, rgba(6, 31, 38, 0.15) 48%, rgba(255,255,255,0.06) 100%),
        linear-gradient(180deg, transparent 38%, rgba(6, 31, 38, 0.58) 100%);
}

.production-photo-card figcaption {
    left: clamp(16px, 3vw, 24px);
    right: clamp(16px, 3vw, 24px);
    bottom: clamp(14px, 2.4vw, 22px);
}

.production-photo-card figcaption strong {
    max-width: 18ch;
}

.brand-copy-block {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    max-width: 620px;
    padding: 4px 0 4px 18px;
    border-left: 4px solid rgba(11, 118, 111, 0.32);
}

.water-panel .brand-copy-block .brand-topline {
    margin: 0 0 2px;
    color: var(--portal-teal);
    letter-spacing: 0.08em;
}

.water-panel .brand-copy-block h3 {
    max-width: 16ch;
    margin: 0;
    color: #0e2f34;
    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 900;
    line-height: 1.04;
}

.water-panel .brand-copy-block .brand-intro {
    max-width: 58ch;
    margin: 0;
    color: #4e6966;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.75;
}

.water-panel h1 {
    max-width: 15ch;
    margin: 0 0 12px;
    color: #0e2f34;
    font-size: clamp(2.05rem, 3.2vw, 3.45rem);
    font-weight: 900;
    line-height: 1.03;
}

.water-panel .brand-intro {
    max-width: 60ch;
    margin-bottom: 18px;
    color: #4e6966;
    font-size: 0.98rem;
}

.portal-status-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 560px;
    margin: 0 0 18px;
}

.portal-status-strip span {
    min-height: 72px;
    padding: 13px 14px;
    border: 1px solid rgba(195, 218, 215, 0.95);
    border-radius: 8px;
    background: rgba(255,255,255,0.76);
    color: var(--portal-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.portal-status-strip strong {
    display: block;
    margin-bottom: 5px;
    color: #10393c;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.water-assurance-row {
    margin-top: auto;
    gap: 10px;
}

.water-assurance-row span {
    min-height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.86);
    color: #294f4d;
}

.water-login-shell .entry-panel {
    padding: clamp(28px, 4vw, 48px);
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.water-login-shell .entry-card {
    max-width: 410px;
    padding: 34px 32px 24px;
    border: 1px solid var(--portal-line);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(10, 50, 58, 0.09);
}

.auth-card-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 26px;
}

.water-login-shell .entry-header h2 {
    margin-top: 7px;
    color: var(--portal-ink);
    font-size: 2rem;
    letter-spacing: 0;
}

.entry-header p {
    color: var(--portal-muted);
}

.control-group {
    margin-bottom: 17px;
}

.control-wrap {
    min-height: 50px;
    border-radius: 9px;
    background: #fbfdfd;
}

.control-wrap > i {
    color: #78918d;
}

.entry-tools {
    margin: 4px 0 22px;
}

.water-login-shell .btn-entry {
    min-height: 52px;
    border-radius: 9px;
    background: linear-gradient(115deg, var(--portal-teal), var(--portal-teal-2));
    box-shadow: 0 13px 24px rgba(11, 118, 111, 0.22);
}

.water-login-shell .btn-entry:hover,
.water-login-shell .btn-entry:focus {
    background: linear-gradient(115deg, #085f5a, #0c7890);
}

.entry-foot {
    margin-top: 18px;
    color: #7a8d89;
    font-weight: 700;
}

@media (max-width: 980px) {
    .water-login-shell {
        width: min(100%, 720px);
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .water-panel h1 {
        max-width: 100%;
    }

    .portal-status-strip {
        max-width: none;
    }

    .water-assurance-row {
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    .login-scene {
        align-items: start;
        padding: 12px;
    }

    .water-login-shell {
        border-radius: 12px;
    }

    .water-panel,
    .water-login-shell .entry-panel {
        padding: 20px 16px;
    }

    .water-panel-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .production-photo-card {
        aspect-ratio: 4 / 3;
    }

    .water-panel h1 {
        font-size: 1.8rem;
    }

    .water-panel .brand-copy-block {
        display: none;
    }

    .portal-status-strip {
        grid-template-columns: 1fr;
    }

    .portal-status-strip span {
        min-height: 58px;
    }

    .water-login-shell .entry-card {
        padding: 24px 18px 20px;
    }
}
