/* ==========================================================================
   KHAO555 SLOT - Auth Pages Stylesheet (Login/Register)
   ========================================================================== */

/* ==========================================================================
   AUTH SECTION
   ========================================================================== */
.auth-section {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 6rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   AUTH CARD
   ========================================================================== */
.auth-card {
    background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-family: 'Prompt', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   AUTH FORM
   ========================================================================== */
.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Sarabun', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb), 0.15);
}

.form-hint {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-primary);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   TRUST SIGNALS (Auth Pages)
   ========================================================================== */
.trust-signals {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
}

.trust-signals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.trust-signal-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
}

.trust-signal-item svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.trust-signal-item span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE - Auth Pages
   ========================================================================== */
@media (min-width: 360px) {
    .auth-header h1 {
        font-size: 1.375rem;
    }
}

@media (min-width: 480px) {
    .auth-card {
        padding: 2.5rem 2rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .trust-signals-grid {
        gap: 1rem;
    }

    .trust-signal-item {
        padding: 1rem;
    }

    .trust-signal-item span {
        font-size: 0.875rem;
    }
}

@media (min-width: 576px) {
    .auth-header h1 {
        font-size: 1.625rem;
    }
}

@media (min-width: 768px) {
    .auth-section {
        padding: 3rem 2rem 6rem;
    }

    .auth-container {
        max-width: 480px;
    }

    .auth-card {
        padding: 3rem 2.5rem;
        border-radius: 24px;
    }

    .auth-header h1 {
        font-size: 1.75rem;
    }

    .trust-signals-grid {
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .auth-container {
        max-width: 520px;
    }

    .auth-header h1 {
        font-size: 1.875rem;
    }
}
