/**
 * Auth Pages Styles
 * Styles for register, login, and verification pages
 */

/* =============================================
   AUTH HERO SECTION
   ============================================= */

.auth-hero {
    background: linear-gradient(135deg, var(--cc-berry) 0%, var(--cc-slate) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.auth-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 152, 70, 0.2) 0%, transparent 70%);
    animation: float 7s ease-in-out infinite;
}

.auth-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 204, 51, 0.15) 0%, transparent 70%);
    animation: float 9s ease-in-out infinite reverse;
}

.auth-hero.verify-hero {
    min-height: 70vh;
}

.auth-hero.verify-hero::before {
    top: -100px;
    right: -100px;
    left: auto;
}

/* =============================================
   AUTH CARD
   ============================================= */

.auth-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.auth-card.centered {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* =============================================
   BENEFITS BOX
   ============================================= */

.auth-benefits {
    background: #f7f8fb;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    color: #0f172a;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.auth-benefits .text-muted {
    color: #667085 !important;
}

.auth-hero .auth-benefits {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #f8fafc;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(14px);
}

.auth-hero .auth-benefits .text-muted {
    color: rgba(248, 250, 252, 0.72) !important;
}

/* =============================================
   VERIFY ICON
   ============================================= */

.verify-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pop 0.6s ease-out;
}

.verify-icon.success {
    background: linear-gradient(135deg, var(--cc-forest) 0%, #1e7e34 100%);
    color: white;
}

.verify-icon.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.verify-icon.info {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
}

/* =============================================
   SUCCESS STATE
   ============================================= */

.success-card {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--cc-forest) 0%, #1e7e34 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(38, 152, 70, 0.3);
    animation: pop 0.6s ease-out;
}

/* =============================================
   PASSWORD STRENGTH
   ============================================= */

.password-strength {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.password-strength.weak {
    color: #dc3545;
}

.password-strength.strong {
    color: var(--cc-forest);
}

/* =============================================
   AUTH BUTTONS
   ============================================= */

.btn-auth {
    background: linear-gradient(135deg, var(--cc-forest) 0%, #1e7e34 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--cc-green-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-auth:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--cc-green-shadow-hover);
    filter: brightness(1.05);
    color: #fff;
}

.btn-auth:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-register {
    background: #fff;
    color: var(--cc-slate);
    border: 2px solid rgba(22, 26, 39, 0.4);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.btn-register:hover:not(:disabled),
.btn-register:focus-visible:not(:disabled) {
    border-color: var(--cc-forest);
    color: var(--cc-forest);
    box-shadow: 0 10px 24px rgba(38, 152, 70, 0.15);
    transform: translateY(-1px);
}

.btn-register:disabled {
    color: rgba(22, 26, 39, 0.45);
    border-color: rgba(22, 26, 39, 0.25);
    background: #fff;
    opacity: 1;
    cursor: not-allowed;
}

/* =============================================
   FORM CHECKBOX
   ============================================= */

.form-check-custom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-check-custom input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* =============================================
   BENEFIT ICONS VARIANTS
   ============================================= */

.benefit-icon.points {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.benefit-icon.streak {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.benefit-icon.community {
    background: linear-gradient(135deg, var(--cc-fuchsia) 0%, var(--cc-berry) 100%);
    color: #fff;
}

.benefit-icon.quests {
    background: linear-gradient(135deg, var(--cc-forest) 0%, #1e7e34 100%);
    color: #fff;
}

.benefit-icon.prizes {
    background: linear-gradient(135deg, var(--cc-forest) 0%, #1e7e34 100%);
    color: #fff;
}

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

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .auth-benefits {
        margin-top: 2rem;
    }

    .verify-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .geo-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
}

/* =============================================
   GEO-RESTRICTED CARD
   ============================================= */

.geo-restricted-card {
    text-align: center;
    padding: 1rem 0;
}

.geo-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.geo-restricted-card .alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}
