﻿/* MODAL BASE */
.lead-modal {
    background: #0d1b2a;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

/* HEADER */
.lead-modal-header {
    position: relative;
    background: linear-gradient(135deg, #0b1c2d, #0f2a44);
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* CENTER CONTENT */
.header-center {
    display: flex;
    flex-direction: column; /* logo top, text below */
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

/* LOGO */
.lead-logo {
    width: 42px;
}

/* TITLE */
.modal-title {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

    .modal-title span {
        color: #ffab00;
    }

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    right: 16px;
    top: 16px;
    filter: invert(1);
    opacity: 1;
}


/* BODY */
.lead-modal-body {
    padding: 28px;
}

/* FOOTER */
.lead-modal-footer {
    justify-content: center;
    padding: 18px;
}

/* FORM GROUP */
.form-group-bt {
    position: relative;
    margin-bottom: 28px;
}

    /* STATIC LABEL */
    .form-group-bt label {
        position: absolute;
        top: -9px;
        left: 18px;
        background: var(--bg-dark);
        padding: 0 8px;
        font-size: 14px;
        color: #cfcfcf;
        z-index: 2;
    }

        .form-group-bt label span {
            color: #ff4d4d;
        }

    /* INPUT / SELECT / TEXTAREA */
    .form-group-bt .form-control {
        width: 100%;
        height: 56px;
        padding: 14px 16px;
        font-size: 16px;
        color: #fff;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.35);
        border-radius: 16px;
        outline: none;
    }

    .form-group-bt textarea.form-control {
        height: auto;
    }

    /* FOCUS (NO LABEL MOVE) */
    .form-group-bt .form-control:focus {
        border-color: #ffab00;
    }

    /* SELECT DROPDOWN ARROW */
    .form-group-bt select.form-control {
        appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%);
        background-position: calc(100% - 24px) 50%, calc(100% - 16px) 50%;
        background-size: 8px 8px;
        background-repeat: no-repeat;
        cursor: pointer;
    }

/* SUBMIT BUTTON */
.btn-lead-submit {
    background: linear-gradient(135deg, #ffab00, #ff8800);
    border-radius: 30px;
    padding: 14px 34px;
    font-weight: 700;
    color: #000;
    border: none;
    box-shadow: 0 0 22px rgba(255,171,0,0.45);
}

/* MOBILE */
@media (max-width: 576px) {
    .lead-modal-body {
        padding: 20px;
    }
}


/* FIX SELECT OPTIONS VISIBILITY */
.form-group-bt select option {
    background-color: #ffffff; /* dropdown background */
    color: #000000; /* visible text */
}

    /* Optional: hover / selected state */
    .form-group-bt select option:checked,
    .form-group-bt select option:hover {
        background-color: #1e6bd6;
        color: #ffffff;
    }


#leadCaptureModal .form-control, #leadCaptureModal .form-select {
    border-radius: 1rem;
}

/* FORCE CLOSE BUTTON VISIBILITY ON DARK HEADER */
.lead-modal-header .btn-close {
    filter: invert(1);
    opacity: 1;
}


/* THEME-MATCH CTA BUTTON */
.btn-lead-submit {
    background: #000;
    color: #fff;
    padding: 16px 42px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(255, 171, 0, 0.25);
}

    /* HOVER */
    .btn-lead-submit:hover {
        background: #2fb350;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(52, 199, 89, 0.4);
        color: #fff;
    }

    /* ACTIVE */
    .btn-lead-submit:active {
        transform: scale(0.98);
    }



.footer-badges p {
    color: var(--theme-dark-color)
}