
/* 
 * Lead Capture Modal - Synthoil
 * Design: Premium, Industrial, Reliable
 */

.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lead-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.lead-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border-top: 6px solid #004a99;
}

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

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

.lead-modal-header img {
    height: 40px;
    margin-bottom: 15px;
}

.lead-modal-header h3 {
    color: #333;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.lead-modal-header p {
    color: #666;
    font-size: 0.9rem;
    margin-top: 8px;
}

.lead-form-group {
    margin-bottom: 20px;
}

.lead-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lead-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.lead-form-group input:focus {
    border-color: #004a99;
    box-shadow: 0 0 0 3px rgba(0, 74, 153, 0.1);
}

.lead-submit-btn {
    width: 100%;
    padding: 15px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.lead-submit-btn:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.lead-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.lead-modal-close:hover {
    color: #333;
}

.lead-footer-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.75rem;
    color: #888;
}

.lead-footer-lock i {
    font-size: 12px;
}

/* Responsive adjustment */
@media (max-width: 480px) {
    .lead-modal-content {
        padding: 20px;
    }
}
