
.enquiry-popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    padding:20px 12px;
    overflow-y:auto;
    z-index:99999;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

.enquiry-popup-overlay.active{
    opacity:1;
    visibility:visible;
}

.enquiry-popup{
    width:100%;
    max-width:397px;
    background:#fff;
    border-radius:13px;
    margin:auto;
    position:relative;
    overflow:hidden;
    box-shadow:0 12px 40px rgba(0,0,0,.28);
}

.popup-close{
    position:absolute;
    top:8px;
    right:8px;
    width:28px;
    height:28px;
    border:0;
    border-radius:50%;
    background:#fff;
    color:#222;
    z-index:10;
    cursor:pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reference Header */
.popup-header{
    background:#e90f12;
    padding:16px 75px 16px 18px;
    display:flex;
    align-items:center;
    gap:12px;
    position:relative;
    overflow:hidden;
}

.popup-header::before{
    content:"";
    position:absolute;
    right:38px;
    top:-6px;
    width:14px;
    height:82px;
    background:#4c4c4c;
    transform:skewX(-28deg);
    border-radius:10px;
}

.popup-header::after{
    content:"";
    position:absolute;
    right:16px;
    top:-6px;
    width:14px;
    height:82px;
    background:#fff;
    transform:skewX(-28deg);
    border-radius:10px;
}

.header-icon{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:50%;
    background:#fff;
    color:#4c4c4c;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.popup-header h2{
    margin:0;
    color:#fff;
       font-size: 18px;
    line-height: 1;
    font-weight: 600;
    text-transform:uppercase;
}

.popup-header h2 span{
    color:#000;
}

.popup-header p{
    margin:4px 0 0;
    color:#fff;
    font-size:12px;
    line-height:1.25;
}

/* Form */
.enquiry-popup form{
    padding:16px 18px 18px;
}

.form-group{
    margin-bottom:15px;
}

.form-group label,
.form-title{
    display:block;
      font-size: 14px;
    font-weight: 500;
    color:#1d1d1d;
    margin-bottom:6px;
}

.form-group label span,
.form-title span{
    color:#4c4c4c;
        font-size: 14px;
    font-weight: 500;

}

.input-icon{
    position:relative;
    padding-left:38px;
}

.input-icon > i{
    position:absolute;
    left:0;
    bottom:0;
    width:30px;
    height:36px;
    background:#f3f7ff;
    color:#4c4c4c;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:7px;
    font-size:14px;
}

.input-icon input{
    width:100%;
    height:36px;
    border:1px solid #e1e5eb;
    border-radius:7px;
    padding:0 12px;
    font-size:13px;
    color:#4c4c4c;
}

.input-icon input::placeholder{
    color:#9a9a9a;
}

.input-icon input:focus{
    outline:none;
    border-color:#e90f12;
}

/* Requirement Type */
.radio-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.radio-box label{
    height:38px;
    border:1px solid #e1e5eb;
    border-radius:7px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.radio-box input{
    display:none;
}

.radio-box i{
    color:#4c4c4c;
    font-size:15px;
}

.radio-box input:checked + i,
.radio-box input:checked + i + span{
    color:#e90f12;
}

.radio-box label:has(input:checked){
    border-color:#e90f12;
    background:#f5f8ff;
}

/* Products */
.checkbox-box{
    display:grid;
    gap:8px;
}

.checkbox-box label{
    min-height:43px;
    border:1px solid #e1e5eb;
    border-radius:7px;
    background:#fff;
    display:grid;
    grid-template-columns:18px 46px 1fr;
    align-items:center;
    gap:10px;
    padding:6px 10px;
    cursor:pointer;
    font-size:12px;
    font-weight:600;
}

.checkbox-box input{
    width:13px;
    height:13px;
    accent-color:#e90f12;
}

.checkbox-box img{
    width:41px;
    height:31px;
    object-fit:contain;
    filter:grayscale(100%);
}

.checkbox-box label:has(input:checked){
    border-color:#e90f12;
    background:#f5f8ff;
}

/* Button */
.submit-btn{
    width:100%;
    height:42px;
    border:0;
    border-radius:7px;
    background:#e90f12;
    color:#fff;
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.submit-btn:hover{
    background:#e90f12;
}

@media(max-width:480px){
    .enquiry-popup{
        max-width:330px;
    }

    .popup-header{
        padding-right:65px;
    }

    .popup-header h2{
        font-size:17px;
    }
}