:root {
    color-scheme: light;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #eef1f4;
    color: #1d2833;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: #eef1f4;
}

.page-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.card {
    width: min(100%, 520px);
    background: #fff;
    border: 1px solid #dce2e7;
    border-radius: 12px;
    padding: 34px;
    box-shadow: 0 18px 50px rgba(26, 40, 52, .08);
}

.brand-logo {
    display: block;
    width: 180px;
    max-width: 72%;
    height: auto;
    margin: 0 0 16px;
}

h1 {
    margin: 0 0 22px;
    font-size: 27px;
    line-height: 1.2;
}

.environment-badge {
    display: inline-block;
    margin: -8px 0 20px;
    padding: 6px 9px;
    border-radius: 5px;
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #6b5200;
    font-size: 13px;
    font-weight: 700;
}

label {
    display: block;
    margin: 16px 0 7px;
    font-weight: 650;
}

input {
    width: 100%;
    border: 1px solid #aeb8c1;
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
}

input:focus {
    outline: 3px solid rgba(31, 95, 139, .16);
    border-color: #1f5f8b;
}

button {
    width: 100%;
    margin-top: 20px;
    border: 0;
    border-radius: 6px;
    padding: 12px 16px;
    background: #1f5f8b;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:disabled {
    opacity: .65;
    cursor: wait;
}

.notice {
    padding: 12px 14px;
    border-radius: 6px;
    background: #eef5fa;
    border: 1px solid #ccdce7;
}

.notice-error {
    background: #fff0f0;
    border-color: #efc1c1;
    color: #8b1e1e;
}

.notice-success {
    background: #edf8f0;
    border-color: #b9dfc3;
    color: #245e33;
}

.hint, .footer {
    color: #66717b;
    font-size: 13px;
    line-height: 1.45;
}

.footer {
    margin: 28px 0 0;
    border-top: 1px solid #e7ebee;
    padding-top: 16px;
}

.hidden { display: none !important; }
