/* ==========================================================================
   G2G123 - AUTH PAGES STYLESHEET (Login/Register)
   Cyber Neon Theme - Matches main styles.css
   ========================================================================== */

/* ==========================================================================
   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) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.auth-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 70% 80%, rgba(0, 255, 234, 0.03) 0%, transparent 40%);
    pointer-events: none;
    animation: authBgPulse 8s ease-in-out infinite;
}

@keyframes authBgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* ==========================================================================
   AUTH CARD
   ========================================================================== */
.auth-card {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, rgba(15, 21, 32, 0.95) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg),
                0 0 40px rgba(0, 212, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Card Glow Effect */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

/* ==========================================================================
   AUTH HEADER
   ========================================================================== */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-family: 'Prompt', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ==========================================================================
   AUTH FORM
   ========================================================================== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.form-label {
    font-family: 'Sarabun', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

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

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

.form-input:hover {
    border-color: var(--border-secondary);
}

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

.form-hint {
    font-family: 'Sarabun', sans-serif;
    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: linear-gradient(90deg, transparent, var(--border-primary), transparent);
}

.auth-divider span {
    color: var(--text-muted);
    font-family: 'Sarabun', sans-serif;
    font-size: 0.875rem;
}

/* ==========================================================================
   AUTH BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    padding: 0.9375rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background: var(--accent-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
    color: var(--bg-primary);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-tertiary);
    border-color: var(--accent-tertiary);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   TRUST SIGNALS
   ========================================================================== */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    min-width: 80px;
}

.trust-item img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
    transition: all 0.3s ease;
}

.trust-item:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
}

.trust-item span {
    font-family: 'Sarabun', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE - 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.25rem;
    }

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

    .btn-primary,
    .btn-outline {
        padding: 0.8125rem 1rem;
        font-size: 0.9375rem;
    }

    .trust-signals {
        gap: 1rem;
    }

    .trust-item {
        min-width: 70px;
    }

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

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

/* ==========================================================================
   RESPONSIVE - SMALL MOBILE (360px - 479px)
   ========================================================================== */
@media (min-width: 360px) and (max-width: 479px) {
    .auth-section {
        padding: 1.5rem 1rem 5.5rem;
    }

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

/* ==========================================================================
   RESPONSIVE - MEDIUM MOBILE (480px - 575px)
   ========================================================================== */
@media (min-width: 480px) {
    .auth-card {
        padding: 2rem 1.75rem;
    }

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

    .trust-signals {
        gap: 2rem;
    }

    .trust-item {
        min-width: 90px;
    }
}

/* ==========================================================================
   RESPONSIVE - LARGE MOBILE / PHABLET (576px+)
   ========================================================================== */
@media (min-width: 576px) {
    .auth-section {
        padding: 2.5rem 1.5rem 6rem;
    }

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

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

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

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

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

/* ==========================================================================
   RESPONSIVE - TABLET (768px+)
   ========================================================================== */
@media (min-width: 768px) {
    .auth-section {
        padding: 3rem 2rem 6rem;
    }

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

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

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

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

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

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

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

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

/* ==========================================================================
   RESPONSIVE - DESKTOP (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    .auth-section {
        min-height: calc(100vh - 200px);
    }

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

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

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

/* ==========================================================================
   RESPONSIVE - LARGE DESKTOP (1280px+)
   ========================================================================== */
@media (min-width: 1280px) {
    .auth-section {
        padding: 4rem 2rem 6rem;
    }

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

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

    .trust-item img {
        width: 52px;
        height: 52px;
    }
}
