/* ================================
   AUTH – LOGIN / REGISTER
================================ */

.lx-auth-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lx-auth-box {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
}

.lx-auth-header h2 {
    margin-bottom: 6px;
}

.lx-auth-header p {
    font-size: 14px;
    color: #6b7280;
}

.lx-auth-form {
    margin-top: 20px;
}

.lx-input-group {
    margin-bottom: 14px;
}

.lx-input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.lx-input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* ERROR */
.lx-auth-error {
    margin: 10px 0;
    color: #b91c1c;
    font-size: 13px;
}

/* =========================
   AUTH – PREMIUM LOOK
========================= */

.lx-auth-box--premium {
    border-radius: 18px;
    border: 1px solid #eee;
    box-shadow: 0 12px 32px rgba(0,0,0,.06);
}

/* BRAND */
.lx-auth-brand {
    text-align: center;
    margin-bottom: 14px;
}

.lx-auth-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .12em;
}

.lx-auth-tagline {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* HEADER */
.lx-auth-header h2 {
    margin-top: 12px;
    font-size: 22px;
}

.lx-auth-header p {
    margin-top: 4px;
}

/* =========================
   AUTH BUTTON – BASE
========================= */

.lx-btn-auth {
    margin-top: 10px;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 12px; /* ❗ FIX: không dùng 999px */
}

/* =========================
   AUTH CTA BUTTON – REGISTER
   (FORCE OVERRIDE lx-btn-primary)
========================= */

button.lx-btn-primary.lx-btn-auth--register {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    width: 100%;
    padding: 14px 16px;

    background: #111; /* charcoal – sang */
    color: #fff;

    border: none;
    border-radius: 12px;

    text-align: center;
    cursor: pointer;

    transition: background .15s ease, transform .12s ease;
}

/* TEXT */
button.lx-btn-primary.lx-btn-auth--register .lx-btn-main {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

button.lx-btn-primary.lx-btn-auth--register .lx-btn-sub {
    font-size: 12px;
    color: rgba(255,255,255,.7);
}

/* HOVER */
button.lx-btn-primary.lx-btn-auth--register:hover {
    background: #000;
}

/* ACTIVE */
button.lx-btn-primary.lx-btn-auth--register:active {
    transform: translateY(1px);
}

/* =========================
   FOOTER
========================= */

.lx-auth-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
}

.lx-auth-footer a {
    color: #111;
    text-decoration: underline;
}

.lx-auth-register {
    font-size: 14px;
}

.lx-auth-register a {
    font-weight: 500;
}

.lx-auth-back {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}
/* FIELD ERROR */
.lx-input-error {
    margin-top: 4px;
    font-size: 12px;
    color: #b91c1c;
}

/* INPUT ERROR STATE */
.lx-input-group input.is-error {
    border-color: #ef4444;
    background: #fff5f5;
}

/* GLOBAL ERROR */
.lx-auth-error--global {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff1f2;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.4;
}
