/* Responsive overrides loaded after the legacy portal styles. */
.portal-shell .body-content { min-width:0; }
.portal-shell .body-content img { max-width:100%; }
.portal-shell .body-content footer { margin-top:24px; color:#6c8192; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.portal-mobile-navigation { display:none; }
.portal-table-scroll { width:100%; max-width:100%; min-width:0; overflow:auto; -webkit-overflow-scrolling:touch; border:1px solid #dce7ef; border-radius:8px; margin:10px 0; }
.portal-table-scroll:focus-visible { outline:3px solid #71c9cc; outline-offset:2px; }
@media(max-width:991px) {
.portal-data-grid { min-width:480px; border-collapse:collapse; }
.portal-data-grid th,.portal-data-grid td { padding:9px 8px; }
}
.portal-booking-page { min-width:0; }
.portal-edit-booking { overflow:visible; }
.portal-shell:has(.portal-booking-page) .body-content { width:calc(100% - 32px); max-width:1440px; }
.portal-booking-page .row { margin-left:0; margin-right:0; }
.portal-booking-page [class*="col-md-"] { min-width:0; padding-left:10px; padding-right:10px; }
.portal-booking-page .dxtcFixed { width:100%!important; min-width:0!important; max-width:100%; }
@media(max-width:991px) {
.portal-booking-page .portal-form-table { width:100%; max-width:100%; margin-bottom:12px; border-collapse:separate; border-spacing:0 5px; }
.portal-form-table>tbody>tr>td { padding:4px; vertical-align:middle; }
.portal-form-table>tbody>tr>td.portal-field-label { color:#526d80; font-size:12px; line-height:1.5; text-align:left!important; }
.portal-form-table>tbody>tr>td>.dxeTextBoxSys,.portal-form-table>tbody>tr>td>.dxeButtonEditSys,.portal-form-table>tbody>tr>td>.dxeMemoSys { width:100%!important; max-width:100%; box-sizing:border-box; }
.portal-form-table>tbody>tr>td>.dxeMemoSys textarea { width:100%!important; min-height:70px; }
.portal-booking-page .portal-entry-table,.portal-booking-page .portal-entry-table>tbody { display:block; }
.portal-booking-page .portal-entry-table>tbody>tr:first-child { display:none; }
.portal-booking-page .portal-entry-table>tbody>tr+tr { display:grid; grid-template-columns:repeat(auto-fit,minmax(95px,1fr)); gap:8px; align-items:end; }
.portal-booking-page .portal-entry-table>tbody>tr>td { display:block; min-width:0; width:auto!important; padding:0; }
.portal-entry-table td[data-label]::before { content:attr(data-label); display:block; color:#526d80; font-size:12px; font-weight:600; line-height:1.5; margin:0 0 6px; }
}
.portal-booking-page .booking-main-columns { display:flex; flex-wrap:wrap; }
.portal-booking-page .booking-main-columns>.col-md-6 { width:50%; }
@media(max-width:991px) {
.portal-booking-page input[type=file] { width:100%!important; max-width:100%; font-size:13px; }
.portal-booking-page input[type=checkbox] { min-width:18px; min-height:18px; vertical-align:middle; }
.portal-booking-page .portal-action { white-space:normal; }
}
@media(max-width:991px) {
 .portal-booking-page [class*="col-md-"] { float:none; width:100%!important; box-shadow:none!important; }
 .portal-booking-page .booking-main-columns>.col-md-6 { width:100%; }
 .portal-booking-page .booking-main-columns>.col-md-6+div { margin-top:16px; padding-top:16px; border-top:1px solid #e4edf2; }
}
@media(max-width:767px) {
 .portal-shell { padding-top:64px; }
 .portal-shell .navbar-header { min-height:62px; }
 .portal-shell .navbar-brand { padding-top:13px; padding-bottom:12px; height:62px; }
 .portal-shell .navbar-toggle { min-width:44px; min-height:44px; margin-top:9px; margin-bottom:9px; }
 .portal-shell .portal-desktop-navigation { display:none!important; }
 .portal-mobile-navigation.is-open { display:block; max-height:calc(100dvh - 80px); max-height:min(75vh,650px); overflow-y:auto; padding:8px 0 16px; border-top:1px solid #ffffff30; }
 .portal-mobile-navigation a,.portal-mobile-navigation summary { display:block; padding:13px 14px; min-height:46px; color:#f1f7fa; font-size:14px; line-height:1.5; border-radius:6px; overflow-wrap:anywhere; }
 .portal-mobile-navigation summary { display:list-item; cursor:pointer; margin-left:14px; }
 .portal-mobile-navigation a:hover,.portal-mobile-navigation summary:hover { background:#ffffff15; text-decoration:none; }
 .portal-mobile-group { padding-left:12px; border-left:1px solid #ffffff30; margin-left:12px; }
 .portal-shell:has(.portal-booking-page) .body-content { width:100%; padding:0 12px; }
 .portal-page-heading { margin:14px 0; padding:16px; }
 .portal-page-heading h1 { font-size:23px; }.portal-page-heading p { font-size:13px; }
 .portal-booking-page { padding:12px 6px; border-radius:10px; }
 .portal-booking-page [class*="col-md-"] { padding-left:4px; padding-right:4px; }
 .portal-booking-page .portal-form-table,.portal-booking-page .portal-form-table>tbody { display:block; width:100%!important; }
 .portal-booking-page .portal-form-table>tbody>tr { display:flex; flex-direction:column; align-items:stretch; gap:5px; margin-bottom:14px; }
 .portal-booking-page .portal-form-table>tbody>tr>td { display:block; width:100%!important; min-width:0; max-width:100%; height:auto!important; padding:2px 0; text-align:left!important; overflow-wrap:anywhere; }
 .portal-booking-page .portal-form-table>tbody>tr>td.portal-field-label { padding:8px 0 0; background:transparent!important; font-weight:600; font-size:13px; }
 .portal-booking-page .portal-form-table>tbody>tr>td:empty { display:none; }
 .portal-booking-page .portal-entry-table>tbody>tr:first-child { display:none; }
 .portal-booking-page .portal-entry-table>tbody>tr+tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .portal-booking-page .dxeEditAreaSys,.portal-confirmation .confirmation-field .dxeEditAreaSys { font-size:16px!important; min-height:38px!important; }
 .portal-booking-page textarea { max-width:100%; }
 .portal-shell .portal-action { min-height:44px; font-size:14px!important; padding:10px 14px!important; }
 .portal-booking-page .booking-action-toolbar>tbody>tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .portal-booking-page .booking-action-toolbar .portal-action { width:100%!important; margin:0; }
 .portal-booking-page [class*="dxtc-content"] { padding:10px 4px!important; }
 .portal-booking-page [class*="dxtc-stripContainer"] { max-width:100%; overflow-x:auto; }
 .portal-booking-page .dxtcFixed>tbody>tr>td { min-width:0; }
 .portal-shell .modalPopup_400,.portal-shell .modalPopup_600 { width:calc(100vw - 24px)!important; max-height:85vh; overflow:auto; box-sizing:border-box; }
 .confirmation-section { padding:16px 12px; }.portal-confirmation { padding:0; }
 .confirmation-contact,.confirmation-remarks { grid-template-columns:1fr; }
 .confirmation-reference { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .confirmation-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .confirmation-actions .portal-action { width:100%!important; margin:0; }
 .confirmation-rates>table:not(.portal-data-grid),.confirmation-rates>table:not(.portal-data-grid)>tbody { display:block; }
 .confirmation-rates>table:not(.portal-data-grid)>tbody>tr { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
 .portal-table-scroll .portal-data-grid { font-size:13px; }
}
@media(max-width:380px) { .portal-booking-page .portal-entry-table>tbody>tr+tr { grid-template-columns:1fr; } }
@media print { .portal-mobile-navigation,.navbar,.portal-page-heading { display:none!important; }.portal-table-scroll { overflow:visible; border:0; }.portal-shell { padding-top:0; } }

.portal-section-title{font:600 16px/1.5 "Segoe UI",Arial,sans-serif;color:#244861;padding:12px 0 8px;margin:4px 0 10px;border-bottom:1px solid #e3edf2}
@media(max-width:991px){.portal-booking-page .portal-form-table{table-layout:fixed}}
@media(max-width:767px){
 .portal-booking-page .portal-empty-cell{display:none!important}
 .portal-shell .portal-responsive-popup,.portal-shell .dxpc-mainDiv{max-width:calc(100vw - 24px)!important}
 .portal-shell .portal-responsive-popup .dxpc-content,.portal-shell .dxpc-mainDiv .dxpc-content{max-width:calc(100vw - 44px);max-height:75vh;overflow:auto}
 .portal-shell .modalPopup_100{width:calc(100vw - 24px)!important;max-height:85vh;overflow:auto;box-sizing:border-box}
 .portal-booking-page .dxtcFixed{table-layout:fixed}
}

/* Desktop editing keeps the original compact form and its explicit control widths. */
@media(min-width:992px) {
 .portal-shell:has(.portal-edit-booking) .body-content { width:calc(100% - 40px); max-width:1360px; }
 .portal-shell:has(.portal-edit-booking) .portal-page-heading { margin:8px 0 10px; padding:9px 14px; }
 .portal-shell:has(.portal-edit-booking) .portal-page-heading h1 { font-size:20px; margin:0; line-height:1.4; }
 .portal-shell:has(.portal-edit-booking) .portal-page-heading p,.portal-shell:has(.portal-edit-booking) .portal-page-kicker { display:none; }
 .portal-edit-booking { padding:8px 10px 12px; }
 .portal-edit-booking .portal-form-table { width:auto; max-width:100%; margin:0; border-spacing:2px; table-layout:auto; }
 .portal-edit-booking .portal-form-table>tbody>tr>td { padding:0; vertical-align:middle; }
 .portal-edit-booking .portal-entry-table td[data-label]::before { display:none; }
 .portal-edit-booking .portal-table-scroll { width:auto; border:0; border-radius:0; margin:0; }
 .portal-edit-booking .portal-action { min-height:30px; padding:5px 10px!important; white-space:nowrap; }
 .portal-edit-booking .dxeEditAreaSys { min-height:23px!important; padding:1px 4px!important; }
 .portal-edit-booking .portal-section-title { font-size:13px; padding:3px 0; margin:4px 0; }
 .portal-edit-booking .booking-flight-information { margin:0; font-size:13px; }
 .portal-edit-booking .booking-flight-information.portal-empty-heading { display:none; }
 .portal-edit-booking .dxtcFixed .row[style*='#f5f0f0'] { padding:3px 0; }
}
