/* ==========================================================
   GLOBAL LEAD MODAL
========================================================== */

.lead-modal-overlay{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    background:rgba(15,23,42,.65);

    backdrop-filter:blur(10px);

    -webkit-backdrop-filter:blur(10px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99999;

}

.lead-modal-overlay.show{

    opacity:1;

    visibility:visible;

}

/* ==========================================================
   MODAL
========================================================== */

.lead-modal{

    position:relative;

    width:100%;

    max-width:720px;

    max-height:90vh;

    overflow-y:auto;

    background:#ffffff;

    border-radius:30px;

    padding:45px;

    box-shadow:

        0 35px 100px rgba(15,23,42,.25);

    transform:translateY(40px) scale(.96);

    transition:.35s;

}

.lead-modal-overlay.show .lead-modal{

    transform:none;

}

/* ==========================================================
   CLOSE BUTTON
========================================================== */

.lead-modal-close{

    position:absolute;

    top:22px;

    right:22px;

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:#f4f6f8;

    color:#667085;

    cursor:pointer;

    transition:.3s;

}

.lead-modal-close:hover{

    background:#01a5b2;

    color:#fff;

    transform:rotate(90deg);

}

/* ==========================================================
   HEADER
========================================================== */

.lead-modal-header{

    text-align:center;

    margin-bottom:40px;

}

.lead-modal-icon{

    width:80px;

    height:80px;

    margin:auto;

    border-radius:24px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:

        linear-gradient(
            135deg,
            #01a5b2,
            #226d89
        );

    color:#fff;

    font-size:2rem;

    margin-bottom:25px;

}

.lead-modal-header h2{

    margin:0;

    font-size:2.2rem;

    color:#202020;

}

.lead-modal-header p{

    margin-top:15px;

    color:#667085;

    line-height:1.8;

}

/* ==========================================================
   GRID
========================================================== */

.lead-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

}

/* ==========================================================
   FIELD
========================================================== */

.lead-field{

    display:flex;

    flex-direction:column;

    margin-bottom:22px;

}

.lead-field label{

    margin-bottom:10px;

    color:#202020;

    font-weight:600;

}

.lead-field input,

.lead-field select,

.lead-field textarea{

    width:100%;

    padding:15px 18px;

    border:1px solid #d9e2e8;

    border-radius:16px;

    background:#ffffff;

    font-size:15px;

    font-family:inherit;

    transition:.3s;

    resize:vertical;

}

.lead-field textarea{

    min-height:140px;

}

.lead-field input:focus,

.lead-field select:focus,

.lead-field textarea:focus{

    outline:none;

    border-color:#01a5b2;

    box-shadow:

        0 0 0 4px rgba(1,165,178,.12);

}

/* ==========================================================
   READONLY
========================================================== */

#leadServiceDisplay{

    background:#f7fafb;

    font-weight:600;

}

/* ==========================================================
   BUTTON
========================================================== */

.lead-actions{

    margin-top:35px;

}

.lead-submit{

    width:100%;

    height:60px;

    border:none;

    border-radius:18px;

    background:

        linear-gradient(
            135deg,
            #01a5b2,
            #226d89
        );

    color:#fff;

    font-size:16px;

    font-weight:700;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    cursor:pointer;

    transition:.35s;

}

.lead-submit:hover{

    transform:translateY(-3px);

    box-shadow:

        0 20px 45px rgba(1,165,178,.28);

}

.lead-submit i{

    font-size:1.25rem;

}

/* ==========================================================
   SCROLLBAR
========================================================== */

.lead-modal::-webkit-scrollbar{

    width:8px;

}

.lead-modal::-webkit-scrollbar-thumb{

    background:#d7e7ea;

    border-radius:999px;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:768px){

    .lead-modal-overlay{

        padding:18px;

    }

    .lead-modal{

        padding:30px;

        border-radius:22px;

    }

    .lead-grid{

        grid-template-columns:1fr;

        gap:0;

    }

    .lead-modal-header h2{

        font-size:1.8rem;

    }

}

