/* ========================================
   Company: Azeits
   Date: 2025-12-07
   AppName: GroupHub - Organization Social Platform
   Mobile UI Design System
   ======================================== */
@import url('mobile-style.css');

.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px 24px 40px;
}

.auth-header {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.back-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.auth-title-section {
    margin-bottom: 32px;
}

.auth-subtitle {
    font-size: var(--font-md);
    color: #6b7280;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: var(--font-lg);
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.input-icon-right {
    position: absolute;
    right: var(--font-lg);
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.form-input:focus {
    border-color: var(--mint-dark);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input.has-icon-right {
    padding-right: 48px;
}

.forgot-password {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 24px;
}

.forgot-password a {
    font-size: var(--font-sm);
    color: var(--mint-dark);
    text-decoration: none;
    font-weight: 600;
}

.btn-primary-auth {
    width: 100%;
    padding: var(--font-lg) 24px;
    background: var(--gradient-button);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: var(--font-lg);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px var(--font-lg) var(--shadow-button);
    transition: transform 0.2s;
    margin-bottom: 24px;
}

.btn-primary-auth:active {
    transform: scale(0.98);
}

.btn-primary-auth:disabled {
    background: #d1d5db;
    box-shadow: none;
    cursor: not-allowed;
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider-text {
    padding: 0 var(--padding-lg);
    font-size: var(--font-sm);
    color: #9ca3af;
    font-weight: 500;
}

.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-social {
    flex: 1;
    padding: 14px;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
}

.btn-social:hover {
    border-color: var(--mint-dark);
    background: #f0fdf4;
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.signup-link a {
    color: var(--mint-dark);
    text-decoration: none;
    font-weight: 700;
}

.otp-illustration {
    text-align: center;
    margin-bottom: 32px;
}

.otp-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(20, 184, 166, 0.05) 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.email-highlight {
    color: var(--mint-dark);
    font-weight: 600;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.otp-input {
    width: 56px;
    height: 64px;
    border: 2px solid #e5e7eb;
    border-radius: var(--font-lg);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    background: white;
    outline: none;
    transition: all 0.2s;
    color: #1f2937;
}

.otp-input:focus {
    border-color: var(--mint-dark);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.otp-input.filled {
    border-color: var(--mint-dark);
    background: #f0fdf4;
}

.otp-input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.timer-section {
    text-align: center;
    margin-bottom: 24px;
}

.timer-text {
    font-size: 14px;
    color: #6b7280;
}

.timer-countdown {
    color: var(--mint-dark);
    font-weight: 700;
}

.resend-link {
    text-align: center;
    margin-bottom: 32px;
}

.resend-link span {
    font-size: 14px;
    color: #6b7280;
}

.resend-link button {
    background: none;
    border: none;
    color: var(--mint-dark);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
}

.resend-link button:disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.change-method {
    text-align: center;
}

.change-method button {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px var(--font-lg);
    border-radius: 8px;
    transition: all 0.2s;
}

.change-method button:hover {
    background: rgba(20, 184, 166, 0.1);
    color: var(--mint-dark);
}

.success-message {
    background: #f0fdf4;
    border: 1px solid var(--mint-dark);
    border-radius: var(--radius-md);
    padding: 12px var(--font-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.success-message-icon {
    width: 32px;
    height: 32px;
    background: var(--mint-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-message-text {
    font-size: var(--font-sm);
    color: #047857;
    font-weight: 500;
}

.decoration-circle-2 {
    position: absolute;
    bottom: 150px;
    left: -100px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.auth-form {
    flex: 1;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: var(--font-sm);
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: var(--font-lg) var(--font-lg) var(--font-lg) 48px;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: var(--font-md);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.name-row {
    display: flex;
    gap: 12px;
}

.name-row .form-group {
    flex: 1;
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    width: 60%;
    background: var(--gradient-strength-fill);
    border-radius: 2px;
    transition: width 0.3s;
}

.strength-text {
    font-size: 11px;
    color: var(--accent-green);
    font-weight: 600;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.custom-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-top: 2px;
}

.custom-checkbox.checked {
    background: var(--gradient-button);
    border-color: var(--mint-dark);
}

.checkbox-label {
    font-size: var(--font-sm);
    color: #6b7280;
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--mint-dark);
    text-decoration: none;
    font-weight: 600;
}

.login-link {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.login-link a {
    color: var(--mint-dark);
    text-decoration: none;
    font-weight: 700;
}


        .splash-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 40px 24px;
        }
        
        .logo-container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
        
        .logo-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
            border-radius: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            box-shadow: 0 8px 32px rgba(20, 184, 166, 0.3);
        }
        
        .logo-text {
            font-size: 32px;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }
        
        .logo-tagline {
            font-size: 15px;
            color: #6b7280;
            font-weight: 500;
            max-width: 260px;
            line-height: 1.5;
        }
        
        .features-row {
            display: flex;
            justify-content: center;
            gap: 32px;
            margin-top: 48px;
        }
        
        .feature-item {
            text-align: center;
        }
        
        .feature-icon {
            width: 48px;
            height: 48px;
            background: rgba(20, 184, 166, 0.1);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            color: #14b8a6;
        }
        
        .feature-label {
            font-size: 12px;
            color: #6b7280;
            font-weight: 600;
        }
        
        .cta-section {
            padding-top: 32px;
        }
        
        .btn-get-started {
            width: 100%;
            padding: 16px 24px;
            background: var(--gradient-button);
            border: none;
            border-radius: var(--radius-md);
            color: white;
            font-size: var(--font-lg);
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(20, 184, 166, 0.4);
            transition: transform 0.2s, box-shadow 0.2s;
            margin-bottom: 16px;
        }
        
        .btn-get-started:active {
            transform: scale(0.98);
        }
        
        .btn-login {
            width: 100%;
            padding: 16px 24px;
            background: white;
            border: 1.5px solid #e5e7eb;
            border-radius: var(--radius-md);
            color: #1f2937;
            font-size: var(--font-lg);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-login:hover {
            background: #f9fafb;
            border-color: #14b8a6;
        }
        
        .terms-text {
            text-align: center;
            font-size: 12px;
            color: #9ca3af;
            margin-top: 20px;
            line-height: 1.6;
        }
        
        .terms-text a {
            color: #14b8a6;
            text-decoration: none;
            font-weight: 600;
        }