/* Unified themed scrollbar across the public website */
html{scrollbar-width:thin;scrollbar-color:#f47a18 #102344}
*{scrollbar-width:thin;scrollbar-color:#f47a18 #102344}
*::-webkit-scrollbar{width:8px;height:8px}
*::-webkit-scrollbar-track{background:#102344;border-radius:10px}
*::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ff9a2e,#e96b18);border:1px solid #102344;border-radius:10px}
*::-webkit-scrollbar-thumb:hover{background:#ffb04f}
/* Contact modal: make the entire panel scrollable so the submit button is always reachable */
.contact-modal .modal-dialog{max-height:calc(100vh - 2rem);height:auto;margin:1rem auto;display:flex;align-items:stretch}
.contact-modal .modal-content{display:grid;grid-template-columns:.72fr 1.28fr;max-height:calc(100vh - 2rem);height:auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.contact-modal .contact-modal-form{min-height:0;overflow:visible}
.contact-modal .contact-modal-form-fields{padding-bottom:12px}
.contact-modal .contact-modal-form-fields button[type=submit]{margin-bottom:8px}
@media(max-width:767.98px){
 .contact-modal .modal-dialog{width:calc(100% - 1rem);max-height:calc(100dvh - 1rem);margin:.5rem auto}
 .contact-modal .modal-content{display:block;max-height:calc(100dvh - 1rem);overflow-y:auto}
 .contact-modal-visual{min-height:210px}
 .contact-modal-form{padding:28px 20px 32px}
}

/* Contact modal: keep the visual panel stationary; only the form column scrolls */
@media(min-width:768px){
 .contact-modal .modal-dialog{height:min(88vh,820px);max-height:calc(100vh - 2rem)}
 .contact-modal .modal-content{height:100%;max-height:100%;overflow:hidden;display:grid;grid-template-columns:.82fr 1.18fr}
 .contact-modal .contact-modal-visual{height:100%;min-height:0;overflow:hidden;position:relative}
 .contact-modal .contact-modal-form{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-bottom:30px}
}
@media(max-width:767.98px){
 .contact-modal .modal-content{display:flex;flex-direction:column;overflow:hidden}
 .contact-modal .contact-modal-visual{flex:0 0 190px;min-height:190px}
 .contact-modal .contact-modal-form{max-height:calc(100dvh - 210px);overflow-y:auto;overscroll-behavior:contain}
}
