*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --abyss:   #071816;
    --emerald: #0E5C4D;
    --jade:    #25B87A;
    --gold:    #C8A44A;
    --linen:   #FAEAE8;
    --chalk:   #F8F6F2;
    --crimson: #BF1E2E;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--abyss);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap {
    width: 100%;
    max-width: 400px;
    padding: 24px;
}

.login-box {
    background: #0a1f1c;
    border: 1px solid #0e2e29;
    border-radius: 16px;
    padding: 48px 40px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.logo-re  { color: var(--jade); }
.logo-vtx { color: var(--gold); }

.tagline {
    font-size: 13px;
    color: #3a6b63;
    margin-bottom: 40px;
}

.alert {
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(191,30,46,0.1);
    border: 1px solid rgba(191,30,46,0.3);
    color: #ff6b7a;
}

.alert-timeout {
    background: rgba(200,164,74,0.1);
    border: 1px solid rgba(200,164,74,0.3);
    color: var(--gold);
}

.field { margin-bottom: 20px; }

label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #3a6b63;
    margin-bottom: 8px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    background: #071816;
    border: 1px solid #0e2e29;
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--chalk);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: var(--emerald);
}

input::placeholder { color: #2a5248; }

.submit-btn {
    width: 100%;
    background: var(--jade);
    color: var(--abyss);
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
    margin-top: 8px;
}

.submit-btn:hover { background: #1fa868; }

.footer-note {
    text-align: center;
    font-size: 12px;
    color: #1a4a42;
    margin-top: 28px;
}