/* =========================================
   LOGIN / AUTH PAGE CSS
   ========================================= */

body {
    background-color: #0b0f19;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.auth-section {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

/* Premium Glassmorphism Box */
.auth-box {
    width: 100%;
    max-width: 450px;
    background: #111827;
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 10px;
    font-weight: 800;
}

.text-glow-cyan {
    color: #22d3ee;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

.auth-header p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

/* Form Inputs */
.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.input-group label {
    color: #d1d5db;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.input-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 15px;
    padding: 14px 16px;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
    background: rgba(0, 0, 0, 0.5);
}

/* Options (Remember Me & Forgot Pass) */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.remember-me {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-pass {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.forgot-pass:hover {
    color: #c084fc;
}

/* Main Button */
.btn-submit-grad {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #22d3ee, #c084fc);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.2);
}

.btn-submit-grad:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(192, 132, 252, 0.4);
}

/* Divider (OR) */
.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.auth-divider span {
    background: #111827; /* Match box background */
    color: #6b7280;
    padding: 0 15px;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Google Button */
.btn-social-google {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-social-google:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

/* Footer / Sign Up Link */
.auth-footer {
    text-align: center;
    margin-top: 30px;
}

.auth-footer p {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.signup-link {
    color: #22d3ee;
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
}

.signup-link:hover {
    text-decoration: underline;
}

/* =========================================
   PHONE BUTTON CSS
   ========================================= */
.btn-social-phone {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(34, 211, 238, 0.3); /* Cyan border for tech vibe */
    color: #ffffff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px; /* Google button ke niche gap */
    transition: all 0.3s ease;
}

.btn-social-phone:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: #22d3ee;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .auth-box {
        padding: 40px 25px;
    }
}




/* Custom Alert Design */
.hidden-alert {
    display: none; /* शुरुआत में छुपा रहेगा */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.85); /* डार्क बैकग्राउंड */
    backdrop-filter: blur(8px); /* पीछे का सब धुंधला (Blur) हो जाएगा */
    z-index: 9999; /* सबसे ऊपर दिखेगा */
    justify-content: center;
    align-items: center;
}

.alert-content {
    background: #12161f;
    border: 1px solid #2ce6ff; /* सियान कलर का बॉर्डर */
    padding: 40px 60px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 0 30px rgba(44, 230, 255, 0.3);
    color: white;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* पॉप होने वाला एनीमेशन */
}

.alert-icon {
    font-size: 50px;
    display: block;
    margin-bottom: 15px;
}

.alert-content p {
    color: #8b949e;
    font-size: 14px;
    margin-top: 10px;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}




/* Error Highlight Class */
.input-error {
    border-color: #ff3333 !important; /* लाल बॉर्डर */
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.4) !important; /* लाल ग्लो */
    animation: shake 0.4s ease-in-out; /* बॉक्स को हल्का सा हिलाने (Shake) का इफ़ेक्ट */
}

/* बॉक्स के हिलने का एनीमेशन (Optional but looks pro!) */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}


/* Error Text Design */
.error-text {
    color: #ff3333;
    font-size: 13px;
    margin-top: 6px;
    display: none; /* शुरुआत में छुपा रहेगा */
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}




/* Close (X) Button Design */
.close-btn {
    position: absolute;
    top: 15px;
    right: 10px;
    font-size: 18px;
    color: #8b949e;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.close-btn:hover {
    color: #ff3333; /* Hover करने पर लाल हो जाएगा */
    transform: scale(1.2); /* थोड़ा सा बड़ा होगा */
}

/* अगर आपके लॉगिन बॉक्स में relative position नहीं है, तो ये पक्का डाल लें */
.login-container { 
    position: relative; 
}



/* 1. फॉर्म के आने का स्मूथ एनिमेशन (Fade In Effect) */
#complete-profile-section {
    animation: fadeInForm 0.5s ease-in-out;
}

@keyframes fadeInForm {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 2. इनपुट बॉक्स का डिज़ाइन (Input Fields) */
.form-input {
    width: 100%;
    height: 45px;
    background: #12161f; /* डार्क बैकग्राउंड */
    border: 1px solid #2a3143; /* हल्का बॉर्डर */
    border-radius: 8px; /* गोल किनारे */
    padding: 0 15px;
    color: #e1e4e8; /* वाइट टेक्स्ट */
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box; /* पैडिंग से साइज़ न बिगड़े */
    font-family: inherit;
}

/* 3. जब यूज़र टाइप करने के लिए क्लिक करे (Focus Glow Effect) 🌟 */
.form-input:focus {
    border-color: #00d2ff; /* सियान कलर का बॉर्डर */
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.3); /* हल्का सा सियान ग्लो */
    background: #1a1f2b; /* हल्का सा कलर बदलेगा */
}

/* 4. Google वाले डिब्बे जो लॉक रहेंगे (Read-only inputs) */
.form-input[readonly] {
    background: #1e2330 !important;
    color: #8b949e !important;
    cursor: not-allowed;
    border-color: #2a3143 !important;
    box-shadow: none !important;
}

/* 5. बटन्स का डिज़ाइन (Submit & OTP Buttons) */
.zb-btn {
    width: 100%;
    height: 45px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #00d2ff, #a044ff); /* सियान से पर्पल ग्रेडिएंट */
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4); /* बटन के नीचे का ग्लो */
    margin-top: 10px;
}

/* 6. बटन पर माउस ले जाने पर (Hover Effect) */
.zb-btn:hover {
    transform: translateY(-2px); /* थोड़ा ऊपर उठेगा */
    box-shadow: 0 6px 20px rgba(160, 68, 255, 0.6); /* पर्पल ग्लो बढ़ जाएगा */
}

/* 7. हिंट टेक्स्ट का डिज़ाइन (Password Hint) */
#password-hint {
    color: #8b949e;
    font-size: 12px;
    display: block;
    margin-top: -8px; /* इनपुट बॉक्स के थोड़ा पास करने के लिए */
    margin-bottom: 15px;
    line-height: 1.4;
}