.login-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}

.login-modal-header {
    background: linear-gradient(135deg, #007bff 0%, #6f42c1 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    color: white;
}

.modal-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.login-modal-icon i {
    font-size: 1.5rem;
    color: white;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.modal-subtitle {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.login-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.login-modal-close i {
    color: white;
}

.login-modal-body {
    padding: 2rem;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.login-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    background: white;
    position: relative;
    overflow: hidden;
}

.login-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.login-option:hover::before {
    left: 100%;
}

.login-option:hover {
    transform: translateY(-3px);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Customer Login Option */
.customer-login {
    border-color: #007bff;
}

.customer-login:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #0056b3;
}

.customer-login .login-option-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

/* Vendor Login Option */
.vendor-login {
    border-color: #28a745;
}

.vendor-login:hover {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-color: #1e7e34;
}

.vendor-login .login-option-icon {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

/* Affiliate Login Option */
.affiliate-login {
    border-color: #ffc107;
}

.affiliate-login:hover {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-color: #e0a800;
}

.affiliate-login .login-option-icon {
    background: linear-gradient(135deg, #ffc107, #e0a800);
}

.login-option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.login-option-icon i {
    font-size: 1.5rem;
    color: white;
}

.login-option-content {
    flex: 1;
}

.login-option-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #2d3748;
}

.login-option-desc {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

.login-option-arrow {
    margin-left: 1rem;
    color: #cbd5e0;
    transition: all 0.3s ease;
}

.login-option:hover .login-option-arrow {
    color: #4a5568;
    transform: translateX(5px);
}

.login-option-arrow i {
    font-size: 1.2rem;
}

.login-modal-footer {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.login-footer-links p {
    color: #4a5568;
    font-weight: 500;
}

.register-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.register-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
}

.register-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.customer-register:hover {
    background: #e3f2fd;
    border-color: #007bff;
    color: #0056b3;
}

.vendor-register:hover {
    background: #e8f5e8;
    border-color: #28a745;
    color: #1e7e34;
}

.affiliate-register:hover {
    background: #fff8e1;
    border-color: #ffc107;
    color: #e0a800;
}

.register-link i {
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-modal-content {
        max-width: 95%;
        margin: 0.5rem;
    }
    
    .login-modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .login-modal-body {
        padding: 1.5rem;
    }
    
    .modal-title-wrapper {
        gap: 0.75rem;
    }
    
    .login-modal-icon {
        width: 45px;
        height: 45px;
    }
    
    .login-modal-icon i {
        font-size: 1.3rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-subtitle {
        font-size: 0.85rem;
    }
    
    .login-option {
        padding: 1rem;
    }
    
    .login-option-icon {
        width: 50px;
        height: 50px;
    }
    
    .login-option-icon i {
        font-size: 1.3rem;
    }
    
    .login-option-title {
        font-size: 1rem;
    }
    
    .login-option-desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .login-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .login-modal-body {
        padding: 1.25rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-subtitle {
        font-size: 0.8rem;
    }
    
    .login-option {
        padding: 0.875rem;
    }
    
    .login-option-icon {
        width: 45px;
        height: 45px;
        margin-right: 0.75rem;
    }
    
    .login-option-icon i {
        font-size: 1.2rem;
    }
    
    .login-option-title {
        font-size: 0.95rem;
    }
    
    .login-option-desc {
        font-size: 0.8rem;
    }
    
    .register-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.login-option {
    animation: fadeInUp 0.6s ease-out;
}

.login-option:nth-child(1) {
    animation-delay: 0.1s;
}

.login-option:nth-child(2) {
    animation-delay: 0.2s;
}

.login-option:nth-child(3) {
    animation-delay: 0.3s;
}