/* ==========================================================================
   KTV1BET - Auth Pages Stylesheet (Login/Register)
   ========================================================================== */

/* Auth Section */
.auth-section {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem 6rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

/* Auth Card */
.auth-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 212, 255, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

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

.form-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

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

.auth-divider span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Auth Links */
.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--accent-primary);
    font-size: 0.9375rem;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Trust Signals for Auth */
.auth-trust {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-primary);
}

.auth-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.auth-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent-primary);
}

/* ==========================================================================
   AUTH TRUST SIGNALS
   ========================================================================== */
.auth-trust-signals {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.trust-signal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.trust-signal-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.15);
}

.trust-signal-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.trust-signal-icon svg {
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

.trust-signal-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.trust-signal-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

/* Extra Small Mobile (< 360px) */
@media (max-width: 359px) {
    .auth-section {
        padding: 2rem 0.75rem 5rem;
    }

    .auth-card {
        padding: 1.5rem 1rem;
    }

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

    .auth-trust-signals {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .trust-signal-item {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
        gap: 1rem;
    }

    .trust-signal-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .trust-signal-icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Small Mobile (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .auth-trust-signals {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .trust-signal-item {
        flex-direction: row;
        text-align: left;
        padding: 1rem 1.25rem;
        gap: 1rem;
    }

    .trust-signal-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .trust-signal-icon svg {
        width: 28px;
        height: 28px;
    }
}

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

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

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

    .trust-signal-item {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 0.5rem;
    }

    .trust-signal-icon {
        margin-bottom: 0.75rem;
    }
}

/* Large Mobile / Phablet (576px+) */
@media (min-width: 576px) {
    .auth-container {
        max-width: 480px;
    }

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

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

    .trust-signal-icon {
        width: 60px;
        height: 60px;
    }

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

    .trust-signal-item p {
        font-size: 0.8125rem;
    }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
    .auth-section {
        padding: 4rem 2rem 6rem;
    }

    .auth-card {
        padding: 3rem 2.5rem;
    }

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

    .auth-trust-signals {
        gap: 1.25rem;
        margin-top: 3rem;
    }

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

    .trust-signal-icon {
        width: 64px;
        height: 64px;
    }

    .trust-signal-icon svg {
        width: 36px;
        height: 36px;
    }

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

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

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .auth-section {
        padding: 5rem 3rem 7rem;
    }

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

    .auth-card {
        padding: 3.5rem 3rem;
    }

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

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .auth-container {
        max-width: 560px;
    }
}
