/* ========================================================
   G.T WATER — APPROVED FRESH AQUA PREMIUM V2 SUPER ADMIN LOGIN CSS
   Source: gtwater_super_admin_v2_direct.html
   ======================================================== */

:root {
    --bg: #f5f9f8;
    --paper: #fff;
    --ink: #152d35;
    --soft: #60747b;
    --line: #e4edeb;
    --teal: #11887e;
    --teal2: #0a665e;
    --mint: #dff4ed;
    --shadow: 0 16px 45px rgba(19, 67, 61, 0.065);
    --r: 20px;
}

* { box-sizing: border-box; }

body.owner-login-page {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.login-shell {
    width: min(430px, 100%);
    margin: auto;
}

.login-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 36px 32px;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
}

.logo-wrap {
    width: 56px;
    height: 66px;
    margin: 0 auto 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-radius: 0;
}
.logo-wrap svg {
    width: 54px;
    height: 64px;
    display: block;
}

#loginTitle, .login-brand h1 {
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0284c7 15%, #0d9488 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 0;
}

.login-heading {
    text-align: center;
    margin-bottom: 26px;
}
.login-heading h1 {
    font-size: 24px;
    font-weight: 780;
    letter-spacing: -.035em;
    margin: 0 0 6px;
    color: var(--ink);
}
.login-heading p {
    font-size: 13px;
    color: var(--soft);
    margin: 0;
}

#loginForm {
    display: grid;
    gap: 17px;
}

.login-field {
    display: grid;
    gap: 7px;
}
.login-field > span {
    font-size: 12px;
    font-weight: 720;
    color: var(--ink);
}

.login-field input {
    width: 100%;
    border: 1px solid #dbe7e4;
    border-radius: 11px;
    background: #fff;
    min-height: 44px;
    padding: 11px 14px;
    outline: none;
    color: var(--ink);
    font-size: 13px;
    font-family: inherit;
    transition: all .18s ease;
}
.login-field input::placeholder {
    color: #94a4a6;
}
.login-field input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(17, 136, 126, 0.14);
}
.login-field input[aria-invalid="true"] {
    border-color: #b95659;
    box-shadow: 0 0 0 3px rgba(185, 86, 89, 0.12);
}

.password-control {
    position: relative;
    display: block;
}
.password-control input {
    padding-right: 50px;
}
.password-toggle {
    position: absolute;
    right: 3px;
    top: 3px;
    bottom: 3px;
    width: 42px;
    border: 0;
    background: transparent;
    border-radius: 9px;
    color: var(--soft);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color .18s ease;
}
.password-toggle:hover {
    color: var(--teal);
}
.password-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.login-error {
    padding: 11px 14px;
    border: 1px solid #f0cfcf;
    border-radius: 11px;
    color: #af5051;
    background: #fff0ef;
    font-size: 12px;
    line-height: 1.45;
}

.login-submit {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--teal);
    border-radius: 11px;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s ease;
    margin-top: 6px;
}
.login-submit:hover:not(:disabled) {
    background: var(--teal2);
    border-color: var(--teal2);
}
.login-submit:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.login-footnote {
    text-align: center;
    font-size: 11px;
    color: var(--soft);
    margin: 22px 0 0;
}
.login-footnote span {
    color: var(--teal);
    font-size: 8px;
    vertical-align: middle;
}

.login-tagline {
    text-align: center;
    font-size: 12px;
    color: #79918d;
    margin-top: 18px;
}

.hidden { display: none !important; }

@media (max-width: 480px) {
    .login-card {
        padding: 26px 20px;
        border-radius: 18px;
    }
    .login-heading h1 {
        font-size: 22px;
    }
}
