/* ── AUTH PAGE LAYOUT ───────────────────────────────────── */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 16px 20px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(14, 14, 14, 0.92);
    border: 1px solid rgba(255, 191, 0, 0.18);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

/* ── HEADER ─────────────────────────────────────────────── */
.auth-title {
    font-family: 'DragonSlayer', sans-serif;
    font-size: 1.7rem;
    color: #ffbf00;
    text-align: center;
    margin: 0;
    letter-spacing: 0.06em;
}

.auth-subtitle {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    color: #5a5248;
    text-align: center;
    margin: -14px 0 0;
    text-transform: uppercase;
}

/* ── FORM ───────────────────────────────────────────────── */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.auth-label {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #7a7068;
    text-transform: uppercase;
}

.auth-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 191, 0, 0.18);
    border-radius: 8px;
    padding: 9px 12px;
    color: #f0ece6;
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: rgba(255, 191, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 191, 0, 0.1);
}

.auth-input::placeholder {
    color: #2e2b28;
}

.auth-hint-inline {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.65rem;
    color: #4a4540;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* ── CHECKBOX ───────────────────────────────────────────── */
.auth-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-checkbox-row input[type="checkbox"] {
    accent-color: #ffbf00;
    width: 12px;
    height: 12px;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.auth-checkbox-row label {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.6rem;
    color: #7a7068;
    letter-spacing: 0.03em;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}

.auth-terms-link {
    display: inline;
    padding: 0;
    margin: 0;
    color: rgba(255, 191, 0, 0.55);
    text-decoration: none;
    transition: color 0.18s ease;
}

.auth-terms-link:hover {
    color: #ffbf00;
}

/* ── SUBMIT BUTTON ──────────────────────────────────────── */
.auth-btn {
    width: 100%;
    padding: 11px;
    background: rgba(255, 191, 0, 0.1);
    border: 1px solid rgba(255, 191, 0, 0.38);
    border-radius: 10px;
    color: #ffbf00;
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    margin-top: 2px;
    height: auto;
}

.auth-btn:hover:not(:disabled) {
    background: rgba(255, 191, 0, 0.2);
    border-color: rgba(255, 191, 0, 0.65);
    box-shadow: 0 0 16px rgba(255, 191, 0, 0.18);
    transform: none;
}

.auth-btn:disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
}

/* ── ALERTS ─────────────────────────────────────────────── */
.auth-error {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #e05555;
    background: rgba(190, 60, 40, 0.07);
    border: 1px solid rgba(190, 60, 40, 0.22);
    border-radius: 8px;
    padding: 10px 14px;
    display: none;
    line-height: 1.5;
}

.auth-success {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #5ec46a;
    background: rgba(50, 160, 60, 0.07);
    border: 1px solid rgba(50, 160, 60, 0.22);
    border-radius: 8px;
    padding: 10px 14px;
    display: none;
    line-height: 1.5;
}

/* ── FOOTER LINKS ───────────────────────────────────────── */
.auth-divider {
    height: 1px;
    background: rgba(255, 191, 0, 0.08);
    margin: 0;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.auth-links-text {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.72rem;
    color: #5a5248;
    letter-spacing: 0.06em;
    margin: 0;
}

.auth-link {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(255, 191, 0, 0.55);
    text-decoration: none;
    text-transform: uppercase;
    display: inline;
    padding: 0;
    margin: 0;
    border-radius: 0;
    transition: color 0.18s ease;
}

.auth-link:hover {
    color: #ffbf00;
    background: transparent;
    transform: none;
}

/* ── MOBILE ─────────────────────────────────────────────── */
@media only screen and ((max-width: 767px) or (hover: none)) {
    .auth-card {
        padding: 24px 18px;
        gap: 14px;
    }

    .auth-title {
        font-size: 1.4rem;
    }
}
