@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Condensed:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    color: #2d3748;
    background: #e5ecf1;
    -webkit-font-smoothing: antialiased;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ─── Env banner ─────────────────────────────────────────── */
.env-local-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #e05252;
    z-index: 9999;
}

/* ─── Login wrap ─────────────────────────────────────────── */
.login-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
    padding: 48px 44px 44px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* ─── Logo ───────────────────────────────────────────────── */
.login-logo {
    height: 52px;
    width: auto;
    display: block;
}

/* ─── Form ───────────────────────────────────────────────── */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #e05252;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.login-field label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8fa3b4;
    text-align: center;
}

.login-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e6edf2;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #2d3748;
    background: #ffffff;
    outline: none;
    transition: border-color .15s;
    text-align: center;
}

.login-field input:focus {
    border-color: #17b9cb;
}

.login-field input::placeholder {
    color: #c5d2db;
    letter-spacing: .12em;
}

/* ─── Submit button ──────────────────────────────────────── */
.login-btn {
    width: 100%;
    padding: 13px 20px;
    background: #17b9cb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .15s;
    margin-top: 4px;
}

.login-btn:hover { background: #0f9aab; }
.login-btn:active { background: #0d8a9a; }
