/* Lead Capture Modal Styles */
.lead-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 99999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Black w/ opacity */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lead-modal-content {
    background-color: #1a1a1a;
    /* Dark background matching theme */
    color: #fff;
    margin: auto;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lead-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.lead-modal-close:hover,
.lead-modal-close:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

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

.lead-modal-header h2 {
    margin-top: 0;
    color: #CCFF00;
    /* Theme accent color */
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.lead-modal-header p {
    color: #ccc;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/* Form Styles */
.lead-modal form .form-group {
    margin-bottom: 15px;
}

.lead-modal label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
}

.lead-modal label .required {
    color: #ff4444;
}

.lead-modal input,
.lead-modal textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #fff;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    /* Fix padding issue */
}

.lead-modal input:focus,
.lead-modal textarea:focus {
    outline: none;
    border-color: #CCFF00;
    background-color: #333;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #CCFF00;
    color: #000;
    border: none;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #b3e600;
}

.submit-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* Loader */
.loader {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #000;
    width: 16px;
    height: 16px;
    -webkit-animation: spin 1s linear infinite;
    /* Safari */
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

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