/* Modal-specific wrapper while preserving sidebar form styles */
.modal-enquiry .modal-dialog{
    max-width: 420px;
}
.modal-enquiry .modal-form-header{
    width: 300px;
    margin: 0 auto;
}
.modal-enquiry .modal-content{
    border-radius: 20px;
    border: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.modal-enquiry .modal-form-header .modal-title{
    background: var(--bg-primary);
    font-family: var(--primary-font);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    padding: 20px 25px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.modal-enquiry .modal-body{
    padding: 0;
}
.modal-enquiry .detail-page-sidebar-form .detail-page-sidebar-form-form{
    background-color: #f0f0f0;
    padding: 45px 40px 40px 40px;
    margin-top: -30px;
    border-radius: 32px;
}
.modal-enquiry .detail-page-sidebar-form .privacy-text{
    font-size: 14px;
    color: #312D2D;
    font-weight: 400;
    margin: 0;
    padding-bottom: 15px;
    text-align: center;
}
.modal-enquiry .detail-page-sidebar-form .form-group{
    background-color: var(--bg-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    margin-bottom: 20px;
}
.modal-enquiry .detail-page-sidebar-form .form-group .form-control{
    background-color: transparent;
    border: none;
    outline: none;
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: none;
    border-radius: 12px;
    background-color: var(--bg-white);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    transition: all 0.3s ease;
    outline: none;
}
.modal-enquiry .detail-page-sidebar-form .form-group .form-control:focus{
    box-shadow:none;
    outline: none;
}
.modal-enquiry .detail-page-sidebar-form .form-group .form-control:placeholder{
    color: var(--input-placeholder);
}
.modal-enquiry .detail-page-sidebar-form .form-group img{
    width: 16px;
    height: auto;
}
.modal-enquiry .detail-page-sidebar-form .form-group .form-control textarea{
    background-color: transparent;
    border: none;
    outline: none;
    width: 100%;
}
.modal-enquiry .detail-page-sidebar-form .form-group .form-control textarea:placeholder{
    color: var(--input-placeholder);
}
.modal-enquiry .detail-page-sidebar-form .form-group .form-control textarea img{
    width: 16px;
    height: auto;
}
.modal-enquiry .detail-page-sidebar-form .form-group .form-control textarea{
    min-height: 120px;
    resize: vertical;
    padding-top: 15px;
}

.modal-enquiry .detail-page-sidebar-form .form-group .form-icon{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.modal-enquiry .detail-page-sidebar-form .form-group .form-icon.user-icon{
	background-image: url('data:image/svg+xml,<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 0C10.6815 0 9.39253 0.385848 8.2962 1.10875C7.19987 1.83166 6.34539 2.85915 5.8408 4.06129C5.33622 5.26344 5.2042 6.58625 5.46143 7.86244C5.71867 9.13863 6.3536 10.3109 7.28595 11.231C8.21831 12.151 9.40619 12.7776 10.6994 13.0315C11.9926 13.2853 13.333 13.155 14.5512 12.6571C15.7694 12.1592 16.8106 11.3159 17.5431 10.234C18.2757 9.15211 18.6667 7.88014 18.6667 6.57895C18.6667 4.8341 17.9643 3.16072 16.714 1.92693C15.4638 0.693137 13.7681 0 12 0ZM12 10.5263C11.2089 10.5263 10.4355 10.2948 9.77772 9.86106C9.11992 9.42732 8.60723 8.81083 8.30448 8.08954C8.00173 7.36825 7.92252 6.57457 8.07686 5.80885C8.2312 5.04314 8.61216 4.33979 9.17157 3.78774C9.73098 3.23569 10.4437 2.85974 11.2196 2.70743C11.9956 2.55512 12.7998 2.63329 13.5307 2.93205C14.2616 3.23082 14.8864 3.73677 15.3259 4.38591C15.7654 5.03505 16 5.79823 16 6.57895C16 7.62585 15.5786 8.62988 14.8284 9.37016C14.0783 10.1104 13.0609 10.5263 12 10.5263ZM24 25V23.6842C24 21.2414 23.0167 18.8987 21.2663 17.1714C19.516 15.4441 17.142 14.4737 14.6667 14.4737H9.33333C6.85798 14.4737 4.48401 15.4441 2.73367 17.1714C0.98333 18.8987 0 21.2414 0 23.6842V25H2.66667V23.6842C2.66667 21.9394 3.36905 20.266 4.61929 19.0322C5.86953 17.7984 7.56522 17.1053 9.33333 17.1053H14.6667C16.4348 17.1053 18.1305 17.7984 19.3807 19.0322C20.631 20.266 21.3333 21.9394 21.3333 23.6842V25H24Z" fill="%231E1E1E"/></svg>');
}

.modal-enquiry .detail-page-sidebar-form .form-group .form-icon.email-icon{
	background-image: url('data:image/svg+xml,<svg width="28" height="22" viewBox="0 0 28 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24.5578 1.23071H4.04241C2.69356 1.23071 1.6001 2.32417 1.6001 3.67302V18.3269C1.6001 19.6757 2.69356 20.7692 4.04241 20.7692H24.5578C25.9066 20.7692 27.0001 19.6757 27.0001 18.3269V3.67302C27.0001 2.32417 25.9066 1.23071 24.5578 1.23071Z" stroke="%231E1E1E" stroke-width="1.95385" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.50781 5.13843L14.3001 11.9769L23.0924 5.13843" stroke="%231E1E1E" stroke-width="1.95385" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.modal-enquiry .detail-page-sidebar-form .form-group .form-icon.phone-icon{
	background-image: url('data:image/svg+xml,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.7778 15.2778C19.3111 15.2778 17.7222 15.0333 16.3778 14.5444H16.0111C15.6444 14.5444 15.4 14.6667 15.1556 14.9111L12.4667 17.6C9.04444 15.7667 6.11111 12.9556 4.4 9.53333L7.08889 6.84444C7.45556 6.47778 7.57778 5.98889 7.33333 5.62222C6.96667 4.27778 6.72222 2.68889 6.72222 1.22222C6.72222 0.611111 6.11111 0 5.5 0H1.22222C0.611111 0 0 0.611111 0 1.22222C0 12.7111 9.28889 22 20.7778 22C21.3889 22 22 21.3889 22 20.7778V16.5C22 15.8889 21.3889 15.2778 20.7778 15.2778ZM2.44444 2.44444H4.27778C4.4 3.54444 4.64444 4.64444 4.88889 5.62222L3.42222 7.08889C2.93333 5.62222 2.56667 4.03333 2.44444 2.44444ZM19.5556 19.5556C17.9667 19.4333 16.3778 19.0667 14.9111 18.5778L16.3778 17.1111C17.3556 17.3556 18.4556 17.6 19.5556 17.6V19.5556Z" fill="%231E1E1E"/></svg>');
}

.modal-enquiry .detail-page-sidebar-form .form-group .form-icon.message-icon{
	background-image: url('data:image/svg+xml,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 20.799H5.2425L20.799 5.2425L16.556 1L1 16.5565V20.799Z" stroke="%231E1E1E" stroke-width="2" stroke-linejoin="round"/><path d="M12.3135 5.24255L16.556 9.48505" stroke="%231E1E1E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    top: 20px;
    transform: none;
}
.modal-enquiry .modal-close{
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: var(--bg-tertiary);
    border-radius: 50%;
    opacity: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease-in-out;
}
.modal-enquiry .modal-close:hover{
    background: var(--bg-secondary);
    transition: .3s ease-in-out;
    color: var(--color-white);
}
.modal-enquiry .modal-close::after{
    content: '';
    background: url('data:image/svg+xml,<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 1.25L8.75 0L5 3.75L1.25 0L0 1.25L3.75 5L0 8.75L1.25 10L5 6.25L8.75 10L10 8.75L6.25 5L10 1.25Z" fill="%23FFFFFF"/></svg>');
    width: 10px;
    height: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--color-white);
}
@media (max-width: 575px){
    .modal-enquiry .modal-dialog{ max-width: 92%; }
}

.modal-enquiry .btn-close{
    box-shadow: none;
}