:root {
    --navy: #002B5C;
    --navy-mid: #003D7A;
    --navy-dark: #001A3C;
    --blue: #1B6FD5;
    --blue-pale: #EEF4FF;
    --red-pale: #FEF2F2;
    --bg: #EEF3FB;
    --border: #DDE6F5;
    --text: #1C3557;
    --muted: #6B7FA3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 340px;
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    text-align: center;
}

.logo-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrap img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.logo-fallback {
    color: #fff;
    font-weight: 800;
    font-size: 28px;
}

h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.sub {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 24px;
}

.field {
    text-align: left;
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.field input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg);
    font-family: inherit;
    font-size: 13px;
    color: var(--text);
    outline: none;
    transition: border-color .15s, background .15s;
}

.field input:focus {
    border-color: var(--blue);
    background: #fff;
}

.error {
    background: var(--red-pale);
    color: #991B1B;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    margin: 4px 0 14px;
    text-align: left;
    display: none;
}

.btn {
    width: 100%;
    padding: 11px;
    border-radius: 9px;
    background: var(--blue);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, transform .1s, box-shadow .15s;
    margin-top: 6px;
}

.btn:hover {
    background: var(--navy-mid);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 111, 213, .35);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px;
    line-height: 1.5;
    
    & a {
        text-decoration: none;
        color: var(--blue);
        font-weight: 600;
        transition: color .2s;

        &:hover {
            color: var(--navy);
        }
    }
}