/* Login Modal and Login Page Styles */

.login-page {
    margin: 0;
    box-sizing: border-box;
}

.login-page-bg {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.modal-content {
    max-width: 480px;
    margin: 0 auto;
}

.modal-top-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.login-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.login-icon-gradient {
    background: -webkit-linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-social {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-google {
    background-color: white;
    border: 1px solid #e1e4e8;
}

.btn-google:hover {
    border-color: transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(45deg, #4285F4, #DB4437, #F4B400, #0F9D58) border-box;
}

.btn-facebook {
    background-color: white;
    border: 1px solid #e1e4e8;
}

.btn-facebook:hover {
    border-color: transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, #1877F2, #00C6FF) border-box;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.phone-input-group {
    border: 1px solid #e1e4e8;
}

.otp-input {
    letter-spacing: 0.5em;
}

.btn-login-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
}

#loginModal .modal-content {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.modal-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: #0f172a;
}

.hover-lift {
    transition: transform 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 575.98px) {
    /* Reduce button text size on mobile */
    .btn-social span {
        font-size: 0.875rem !important; /* 14px */
        font-weight: 600 !important;
    }
    
    /* Reduce button padding on mobile */
    .btn-social {
        padding: 0.5rem 1rem !important;
        gap: 0.5rem !important;
    }
    
    /* Reduce icon size on mobile */
    .btn-social img,
    .btn-social i {
        font-size: 1rem !important;
    }
    
    /* Reduce card padding on mobile */
    .card-body {
        padding: 2rem 1.5rem !important;
    }
    
    /* Reduce heading size on mobile */
    .card-body h3 {
        font-size: 1.5rem !important;
    }
}