* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: #F5EFE0;
    color: #3B3B3B;
    line-height: 1.5;
}

.auth-body {
    background: #0A1F44;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: #FAF6EC;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.3);
    width: 100%;
    max-width: 420px;
}

.auth-card h1 { color: #0A1F44; font-size: 26px; margin-bottom: 4px; }
.auth-card h2 { color: #0A1F44; font-size: 16px; font-weight: 500; margin-bottom: 10px; }

.hint { font-size: 12px; color: #666; margin-bottom: 20px; }

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #0A1F44;
    margin: 14px 0 6px;
}

input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #E0D5B7;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}
input:focus { outline: none; border-color: #0A1F44; }

button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background: #0A1F44;
    color: #FAF6EC;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
button:hover { background: #132E5C; }

.alert-error {
    background: #fdeceb;
    color: #B3261E;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    border-left: 4px solid #B3261E;
}

/* ——— Marque ——— */
.brand { text-align: center; margin-bottom: 8px; }
.brand h1 { font-size: 26px; color: #0A1F44; }
.brand-sub {
    font-size: 13px;
    color: #132E5C;
    letter-spacing: .5px;
}
.brand-sub span { color: #C9A227; font-weight: 700; }

.auth-title {
    font-size: 16px;
    font-weight: 500;
    color: #0A1F44;
    margin: 18px 0 4px;
    text-align: center;
}

.auth-foot {
    text-align: center;
    font-size: 12.5px;
    color: #666;
    margin-top: 22px;
}
.auth-foot a { color: #0A1F44; font-weight: 600; text-decoration: none; }
.auth-foot a:hover { color: #C9A227; }

.link-back {
    color: #0A1F44;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}
.link-back:hover { color: #C9A227; }

/* ——— Notices (support) ——— */
.notice {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
}
.notice strong { display: block; margin-bottom: 6px; font-size: 14px; }
.notice p { margin: 0 0 4px; line-height: 1.5; }
.notice-hint { font-size: 12px; opacity: .85; margin-top: 6px; }

.notice-warn {
    background: #FFF6E5;
    color: #8a6e0f;
    border-left: 4px solid #C9A227;
}
.notice-ok {
    background: #e8f5ec;
    color: #1E7A3E;
    border-left: 4px solid #1E7A3E;
}

.ticket {
    font-family: ui-monospace, monospace;
    font-size: 12.5px;
    margin-top: 8px;
}
.ticket code {
    background: #0A1F44;
    color: #C9A227;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
}
.ticket.small { text-align: center; color: #666; }
.ticket.small code { background: #F5EFE0; color: #0A1F44; }

.support-card { max-width: 480px; }

textarea:focus { outline: none; border-color: #0A1F44; }
.alert-success {
    background: #e8f5ec;
    color: #1E7A3E;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
    border-left: 4px solid #1E7A3E;
}

@media (max-width: 480px) {
    .auth-card { padding: 24px 20px; }
    .auth-card h1 { font-size: 22px; }
}