
/* =========================
PREMIUM CONSULTATION MODAL
========================= */

html,
body{
    overflow-x:hidden;
}

.consult-body-lock{
    overflow:hidden !important;
    height:100vh;
}

/* Overlay */

.consult-popup-wrapper{
    position:fixed;
    inset:0;

   
    backdrop-filter:blur(8px);

    z-index:99999999;

    display:none;

    align-items:center;
    justify-content:center;

    overflow:hidden;
}

/* Desktop */

.consult-popup-box{

    width:100%;
    max-width:760px;

    height:90vh;

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    box-shadow:
    0 25px 80px rgba(0,0,0,.20),
    0 10px 30px rgba(0,0,0,.08);
}

/* Header */

.consult-popup-header{

    position:sticky;
    top:0;

    z-index:30;

    background:linear-gradient(
        135deg,
        #8B1538,
        #C41E3A
    );

    padding:20px;

    color:#fff;

    flex-shrink:0;
}

.consult-header-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

.popup-title{
    margin:0;

    display:flex;
    align-items:center;
    gap:12px;

    color:#fff;

    font-size:24px;
    font-weight:700;
}

.form-header__icon{
    width:40px;
    height:40px;

    border-radius:10px;

    background:rgba(255,255,255,.15);

    display:flex;
    align-items:center;
    justify-content:center;
}

.popup-subtitle{
    margin:10px 0 15px;
    color:rgba(255,255,255,.90);
    font-size:14px;
}

/* Close Button */

.consult-popup-close{
    width:40px;
    height:40px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.18);

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;
}

.consult-popup-close:hover{
    background:rgba(255,255,255,.28);
}

/* AI Button */

.ai-property-btn{
    width:100%;

    border:none;

    border-radius:12px;

    padding:12px;

    background:rgba(255,255,255,.15);

    color:#fff;

    font-weight:600;

    cursor:pointer;
}

.ai-property-box a{
    text-decoration: none !important;
    color: inherit;
}

.ai-property-box a:hover,
.ai-property-box a:focus,
.ai-property-box a:active{
    text-decoration: none !important;
}

/* Scroll Area */

.consult-popup-body{

    flex:1;

    overflow-y:auto;

    overflow-x:hidden;

    -webkit-overflow-scrolling:touch;

    overscroll-behavior:contain;

    padding:25px;
}

/* Footer */

.consult-popup-footer{

    position:sticky;
    bottom:0;

    z-index:50;

    background:#fff;

    padding:15px 20px;

    border-top:1px solid #eee;

    box-shadow:
    0 -10px 30px rgba(0,0,0,.08);
}

/* Submit Button */

.submit-btn{

    width:100%;
    height:56px;

    border:none;

    border-radius:14px;

    background:linear-gradient(
        135deg,
        #8B1538,
        #C41E3A
    );

    color:#fff;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.submit-btn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(196,30,58,.35);
}

/* Mobile Premium Bottom Sheet */

@media(max-width:768px){

    .consult-popup-box{

        position:fixed;

        left:0;
        bottom:0;

        width:100%;

        height:100dvh;

        max-width:none;
        max-height:none;

        border-radius:24px 24px 0 0;

        animation:modalUp .35s ease;
    }

    .consult-popup-header{
        padding:15px;
    }

    .popup-title{
        font-size:20px;
    }

    .consult-popup-body{
        padding:15px;
    }

    .consult-popup-footer{
        padding:12px 15px;
    }

    .submit-btn{
        height:52px;
        font-size:15px;
    }
}

/* Animation */

@keyframes modalUp{

    from{
        transform:translateY(100%);
        opacity:0;
    }

    to{
        transform:translateY(0);
        opacity:1;
    }
}
```css
/* =========================
99ACRES PREMIUM SPACING
========================= */

.form-container{
    max-width:100%;
}

/* SECTION TITLE */

.title{
    margin:28px 0 14px;

    font-size:13px;
    font-weight:700;

    letter-spacing:1px;
    text-transform:uppercase;

    color:#1f2937;

    display:flex;
    align-items:center;
    gap:10px;
}

.title:first-child{
    margin-top:0;
}

.title:after{
    content:'';
    flex:1;
    height:1px;
    background:#ececec;
}

/* FORM GROUP */

.form-group{
    margin-bottom:16px;
}

/* INPUT */

.form-input,
.input{
    height:52px;

    border:1px solid #e5e7eb;
    border-radius:12px;

    font-size:15px;

    transition:.25s;
}

.form-input:focus,
.input:focus{
    border-color:#C41E3A;
    box-shadow:0 0 0 4px rgba(196,30,58,.08);
}

/* SELECT2 */

.select2-container--default .select2-selection--single{
    height:52px !important;
    border-radius:12px !important;
    border:1px solid #e5e7eb !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height:50px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    height:52px !important;
}

/* SELL RENT */

.category-toggle{
    display:flex;
    gap:12px;
    margin-bottom:5px;
}

.category-toggle label{
    flex:1;
}

.category-toggle label span{
    height:48px;
    border-radius:999px;
    font-weight:600;
}

/* CATEGORY BUTTON */

.toggle.category-toggle{
    display:flex;
    gap:10px;
}

.toggle.category-toggle label{
    flex:1;
}

.toggle.category-toggle label span{
    height:48px;

    border-radius:999px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:600;
}

/* PROPERTY GRID */

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

/* PROPERTY CARD */

.card{
    border:1px solid #ececec;

    border-radius:14px;

    background:#fff;

    transition:.25s;

    overflow:hidden;

    cursor:pointer;
}

.card:hover{
    transform:translateY(-2px);

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);
}

.card.active{
    border:2px solid #C41E3A;
    background:#fff5f7;
}

.card-content{
    padding:20px 10px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;
}

.card-content i{
    font-size:24px;
    color:#8B1538;

    margin-bottom:10px;
}

.card-content span{
    font-size:14px;
    font-weight:600;
}

/* FOOTER */

.consult-popup-footer{
    background:#fff;
    border-top:1px solid #eee;

    box-shadow:
    0 -10px 30px rgba(0,0,0,.06);
}

/* BUTTON */

.submit-btn{
    height:56px !important;

    border-radius:14px !important;

    font-size:16px !important;
    font-weight:700 !important;

    letter-spacing:.2px;
}

.error-text{
    display:block;
    color:#dc3545;
    font-size:13px;
    margin-top:4px;
}

.error{
    border-color:#dc3545 !important;
}


.success-message{
    background:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;
    padding:12px 15px;
    border-radius:6px;
    margin-bottom:15px;
    font-weight:600;
}

/* MOBILE */

@media(max-width:768px){

    .consult-popup-body{
        padding:20px;
    }

    .title{
        margin:24px 0 12px;
        font-size:12px;
    }

    .grid{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }

    .card-content{
        padding:18px 8px;
    }

    .card-content i{
        font-size:22px;
    }

    .submit-btn{
        height:54px !important;
    }
}


