/* ==========================================================================
   M98VIP - Auth Pages Styles (Login/Register)
   Theme: Royal Purple & Gold VIP
   ========================================================================== */

/* Auth Section */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 6rem;
    background: linear-gradient(135deg, #0d0a1a 0%, #1a1636 50%, #13102a 100%);
}

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

/* Auth Card */
.auth-card {
    background: linear-gradient(180deg, rgba(26, 22, 54, 0.9) 0%, rgba(19, 16, 42, 0.95) 100%);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(155, 89, 182, 0.1);
}

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

.auth-header h1 {
    font-family: 'Prompt', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    background: linear-gradient(135deg, #ffd700 0%, #f1c40f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Auth Form */
.auth-form {
    margin-bottom: 1.5rem;
}

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

.form-label {
    display: block;
    font-family: 'Prompt', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #b8b5c9;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Sarabun', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(13, 10, 26, 0.8);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #9b59b6;
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
    background: rgba(13, 10, 26, 1);
}

.form-input::placeholder {
    color: #7a7793;
}

.form-hint {
    display: block;
    font-size: 0.8125rem;
    color: #7a7793;
    margin-top: 0.375rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-family: 'Prompt', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #f1c40f 50%, #d4ac0d 100%);
    color: #1a1636;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: #9b59b6;
    border: 2px solid #9b59b6;
}

.btn-outline:hover {
    background: rgba(155, 89, 182, 0.1);
    border-color: #b87fd3;
    color: #b87fd3;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #7a7793;
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(155, 89, 182, 0.2);
}

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

/* ==========================================================================
   TRUST SIGNALS
   ========================================================================== */

.trust-signals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(155, 89, 182, 0.15);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
}

.trust-item svg {
    color: #ffd700;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.trust-item span {
    font-family: 'Prompt', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #b8b5c9;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

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

    .auth-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

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

    .form-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    .trust-signals {
        gap: 1rem;
    }

    .trust-item svg {
        width: 32px;
        height: 32px;
    }

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

/* Small Mobile (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .auth-card {
        padding: 1.75rem 1.25rem;
    }

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

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

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

    .trust-signals {
        gap: 2rem;
    }
}

/* Large Mobile / Phablet (576px+) */
@media (min-width: 576px) {
    .auth-header h1 {
        font-size: 1.875rem;
    }

    .trust-item svg {
        width: 44px;
        height: 44px;
    }

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

/* Tablet (768px+) */
@media (min-width: 768px) {
    .auth-section {
        padding: 3rem 2rem 6rem;
        min-height: calc(100vh - 180px);
    }

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

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

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

    .form-input {
        padding: 1rem 1.125rem;
    }

    .btn {
        padding: 1rem 1.75rem;
        font-size: 1.0625rem;
    }

    .trust-signals {
        gap: 2.5rem;
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }

    .trust-item svg {
        width: 48px;
        height: 48px;
    }
}

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

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

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

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