/* Login Page Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b2baa 0%, #0df8de 100%);
    padding: 40px 15px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    position: relative;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    max-width: 200px;
    height: auto;
}

.auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: #0b2baa;
    background: white;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(11, 43, 170, 0.25);
}
#mobileLoginForm{
    overflow-x: hidden;
}
.mobile-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.mobile-input-group:focus-within {
    border-color: #0b2baa;
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(11, 43, 170, 0.25);
}

.country-code {
    padding: 15px 15px 15px 20px;
    background: none;
    border: none;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.mobile-input {
    flex: 1;
    padding: 15px 20px 15px 0;
    border: none;
    background: none;
    font-size: 16px;
    outline: none;
}

.otp-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: #0b2baa;
    background: white;
    outline: none;
}

.auth-btn {
    width: 100%;
    background: #0b2baa;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #0a1f7a;
    transform: translateY(-2px);
}

.auth-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.resend-otp {
    text-align: center;
    margin-top: 15px;
}

.resend-link {
    color: #0b2baa;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.resend-link:hover {
    text-decoration: underline;
}

.timer {
    color: #666;
    font-size: 14px;
}

.auth-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    position: relative;
}

.step.active {
    background: #0b2baa;
}

.step.completed {
    background: #28a745;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-switch-link {
    color: #0b2baa;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch-link:hover {
    text-decoration: underline;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #28a745;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}

/* API Error */
.api-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
    display: none;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 25px;
        margin: 20px;
    }

    .auth-title {
        font-size: 20px;
    }

    .otp-input-group {
        gap: 8px;
    }

    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}