/* Lender Lead Modal - Glassmorphism Design */
.lender-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lender-modal-overlay.active {
    opacity: 1;
}

.lender-modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.lender-modal-overlay.active .lender-modal-content {
    transform: translateY(0);
}

.lender-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    border: none;
}

.lender-modal-close:hover {
    background: #e0e0e0;
    color: #333;
    transform: rotate(90deg);
}

.lender-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.lender-modal-header h2 {
    font-size: 1.5rem;
    color: var(--secondary-dark, #1e293b);
    margin-bottom: 8px;
}

.lender-modal-header h2 span {
    color: var(--primary-gold, #d4af37);
}

.lender-modal-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.lender-modal-form .form-group {
    margin-bottom: 15px;
}

.lender-modal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #475569;
}

.lender-modal-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
    transition: all 0.2s ease;
}

.lender-modal-form .form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.lender-modal-submit {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--secondary-dark, #1e293b);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.lender-modal-submit:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lender-modal-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Modal Body Scroll Lock */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .lender-modal-content {
        padding: 20px;
    }
}