* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; min-height: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; }

.login-body {
    min-height: 100vh;
    background: #0e1116;
    color: #eaeef3;
    position: relative;
    overflow-x: hidden;
}

.ambient-backdrop {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.ambient-backdrop .backdrop-image {
    position: absolute;
    inset: 0;
    background-image: url("./img/backdrop.jpg");
    background-size: cover;
    background-position: center center;
    filter: saturate(1.05) brightness(0.65);
}

.ambient-backdrop .backdrop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,17,22,0.55) 0%, rgba(14,17,22,0.85) 100%);
}

.login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(22, 26, 34, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px 32px;
    backdrop-filter: blur(8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.45);
}

.login-header { text-align: center; margin-bottom: 24px; }
.login-logo { height: 44px; margin-bottom: 18px; filter: invert(1) brightness(1.1); }
.login-header h1 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.login-subtitle { margin: 0; font-size: 14px; color: #9ba4b0; }

.login-alert {
    background: rgba(226, 71, 94, 0.12);
    border: 1px solid rgba(226, 71, 94, 0.5);
    color: #ffb3bf;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
}

.login-form { display: flex; flex-direction: column; gap: 14px; }

.login-field { display: flex; flex-direction: column; gap: 6px; }
.login-field span { font-size: 13px; color: #b4bdcb; }
.login-field input {
    height: 44px;
    padding: 0 14px;
    background: rgba(14,17,22,0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #eaeef3;
    font-size: 15px;
}
.login-field input:focus {
    outline: none;
    border-color: #d4001a;
    box-shadow: 0 0 0 3px rgba(212,0,26,0.15);
}

.login-submit {
    height: 46px;
    margin-top: 6px;
    background: #d4001a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.login-submit:hover { background: #b90017; }

.login-footer-note {
    margin: 22px 0 0;
    text-align: center;
    font-size: 13px;
    color: #8b94a3;
}
.login-footer-note a { color: #ffb0bd; text-decoration: none; }
.login-footer-note a:hover { text-decoration: underline; }
