﻿/* Shared portal components: booking actions, menus, form surfaces and login. */
.portal-shell { background:#f8fafc; color:#253f57; font-family:"Segoe UI",Arial,sans-serif; }
.portal-shell .body-content { padding-top:16px; }
.portal-shell .navbar-inverse { background:#183b53; background:linear-gradient(105deg,#18334d,#286779); border-color:#244d61; box-shadow:0 2px 12px rgba(22,46,68,.12); }
.portal-shell .navbar-inverse .navbar-toggle { border-color:#7194a5; }
.portal-shell .navbar .dxmLite_Metropolis,.portal-shell .navbar [class*='dxmLite_'] { font-family:"Segoe UI",Arial,sans-serif; }
.portal-shell .navbar [class*='dxm-main'] { background:transparent; border:0; }
.portal-shell .navbar [class*='dxm-main']>[class*='dxm-content'] { color:#eef7f8; }
.portal-shell .navbar .dxm-item { border-radius:6px; font-size:12px; }
.portal-shell .navbar .dxm-image { margin-right:6px; }
.portal-shell .navbar .dxm-popup { border:1px solid #dce6ee; border-radius:8px; padding:5px; background:#fff; box-shadow:0 12px 34px rgba(19,48,74,.16); }
.portal-shell .navbar .dxm-popup .dxm-item { color:#304f68; border-radius:5px; }
.portal-shell .navbar .dxm-popup .dxm-hovered { background:#eaf4f5; }
.portal-shell .portal-action { appearance:none; box-sizing:border-box; width:auto !important; height:auto !important; min-height:35px; padding:8px 15px !important; margin:3px 3px 3px 0; border:1px solid #167f86 !important; border-radius:6px !important; background:#167f86 !important; color:#fff !important; font:600 12px/1.4 "Segoe UI",Arial,sans-serif !important; text-align:center; text-decoration:none !important; vertical-align:middle; white-space:nowrap; cursor:pointer; box-shadow:0 1px 2px rgba(17,47,69,.04); transition:background .15s,border-color .15s; }
.portal-shell .portal-action:hover { background:#106970 !important; border-color:#106970 !important; }
.portal-shell .portal-action-secondary { background:#fff !important; border-color:#c8d7e3 !important; color:#355870 !important; }
.portal-shell .portal-action-secondary:hover { background:#eef4f8 !important; border-color:#9fb9cb !important; }
.portal-shell .portal-action-danger { background:#fff1f2 !important; border-color:#e7b9c0 !important; color:#b3384c !important; }
.portal-shell .portal-action-danger:hover { background:#fce3e7 !important; border-color:#d99da7 !important; }
.portal-shell .portal-action:disabled,.portal-shell .portal-action.aspNetDisabled { opacity:.45; cursor:default; }
.portal-shell .portal-action:focus-visible,.portal-shell a:focus-visible,.portal-shell select:focus-visible { outline:3px solid #71c9cc; outline-offset:2px; }
.portal-shell .body-content h3,.portal-shell .body-content h4 { font-family:"Segoe UI",Arial,sans-serif; color:#244861; font-weight:600; }
.portal-shell .body-content fieldset { border:1px solid #dde7ef; border-radius:8px; padding:14px; margin:12px 0; }
.portal-shell .body-content legend { font-size:15px; font-weight:600; color:#34566f; border:0; width:auto; padding:0 7px; margin-bottom:8px; }
.portal-shell .dxtcFixed { border-radius:9px; background:#fff; }
.portal-shell .dxtcFixed [class*='dxtc-content'] { border-color:#dde7ef; border-radius:0 0 9px 9px; }
.portal-shell [class*='dxtc-activeTab'] { background:#e8f3f4; color:#147b83; }
.portal-shell .body-content .dxeTextBoxSys,.portal-shell .body-content .dxeButtonEditSys { border-color:#cddae5; border-radius:5px; }
.portal-shell .body-content .dxeEditAreaSys { font-family:"Segoe UI",Arial,sans-serif; font-size:12px; }
.portal-shell .body-content input[type=text]:not([class*='dxeEditArea']):not(.portal-login-input),.portal-shell .body-content select { border:1px solid #cddae5; border-radius:5px; padding:5px 8px; color:#2f506a; }
.portal-login { display:grid; grid-template-columns:1fr 1fr; max-width:940px; margin:55px auto; border:1px solid #dce6ef; border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 18px 60px rgba(21,54,78,.08); }
.portal-login-brand { background:linear-gradient(145deg,#17354f,#24677a); color:#fff; padding:48px 38px; display:flex; flex-direction:column; justify-content:space-between; gap:35px; }
.portal-login-mark { width:54px; height:54px; padding:12px; border:1px solid #6b9ba9; border-radius:14px; background:rgba(255,255,255,.06); }
.portal-login-brand .portal-eyebrow { color:#a9dce2; font-size:10px; font-weight:700; letter-spacing:1.8px; }
.portal-login-brand h1 { margin:13px 0; color:#fff; font-size:31px; font-weight:650; line-height:1.25; }
.portal-login-brand p { color:#c4dce5; font-size:13px; line-height:1.9; margin:0; }
.portal-login-brand small { color:#91bccb; font-size:11px; }
.portal-login-form { padding:42px 38px; }
.portal-login-form h2 { font-size:25px; color:#203f58; font-weight:650; margin:0 0 8px; }
.portal-login-intro { color:#8193a4; font-size:12px; line-height:1.7; margin-bottom:26px; }
.portal-login-field { margin-bottom:18px; }
.portal-login-field>label { display:block; color:#49677e; font-size:12px; font-weight:600; margin-bottom:7px; }
.portal-login .portal-login-input { width:100% !important; height:43px; box-sizing:border-box; padding:10px 12px; border:1px solid #cad9e4; border-radius:7px; color:#25475f; background:#fff; font:14px "Segoe UI",Arial,sans-serif; }
.portal-login-input:focus { outline:2px solid #94d3d6; outline-offset:1px; border-color:#278e93; }
.portal-login-password { position:relative; }.portal-login-password input { padding-right:60px !important; }
.portal-login-show { position:absolute; right:10px; top:11px; padding:0; border:0; background:none; color:#60859a; font-size:11px; cursor:pointer; }
.portal-login-code { display:grid; grid-template-columns:125px 1fr; gap:12px; align-items:center; }
.portal-login-code-value { display:flex; justify-content:center; align-items:center; min-height:43px; border:1px solid #dce6ee; border-radius:7px; background:repeating-linear-gradient(135deg,#edf3f8,#edf3f8 3px,#f7fafc 3px,#f7fafc 9px); color:#375f79; font:700 20px "Segoe UI",Arial,sans-serif; letter-spacing:5px; }
.portal-login .portal-login-submit { width:100% !important; min-height:43px; margin:7px 0 0; background:#167f86; border:1px solid #167f86; border-radius:7px; color:#fff; font:600 14px "Segoe UI",Arial,sans-serif; cursor:pointer; }
.portal-login-submit:hover { background:#106970; }
.portal-login-error { display:block; color:#b73d51; background:#fff0f2; padding:10px 12px; border-radius:6px; font-size:12px; line-height:1.6; margin-top:16px; }.portal-login-error:empty { display:none; }
@media(max-width:700px) { .portal-login { grid-template-columns:1fr; margin:24px auto; max-width:470px; }.portal-login-brand { padding:24px; gap:20px; }.portal-login-brand h1 { font-size:25px; }.portal-login-brand small { display:none; }.portal-login-form { padding:26px 24px; }.portal-shell .portal-action { padding:7px 11px !important; } }
.portal-shell .navbar .dxm-main .dxm-content,.portal-shell .navbar .dxm-main .dxm-content a { color:#eaf5f7; }
.portal-shell .navbar .dxm-popup .dxm-content,.portal-shell .navbar .dxm-popup .dxm-content a { color:#304f68; }
.portal-page-heading { margin:20px 0 16px; padding:21px 24px; border:1px solid #dce7ee; border-radius:11px; background:linear-gradient(110deg,#edf5f7,#fff); }
.portal-page-kicker { color:#23858d; font-size:9px; font-weight:700; letter-spacing:1.5px; margin-bottom:7px; }
.portal-page-heading h1 { color:#244861; font-size:25px; font-weight:650; margin:0 0 7px; }
.portal-page-heading p { margin:0; color:#7b90a2; font-size:12px; line-height:1.6; }
.portal-booking-page { padding:15px 18px 20px; border:1px solid #dce7ef; border-radius:11px; background:#fff; box-shadow:0 3px 16px rgba(20,49,76,.025); min-width:0; }
.portal-booking-page .dxtcFixed .row[style*='#f5f0f0'] { background:#f2f6f9 !important; border-radius:7px; padding:9px 0; }
@media(max-width:700px) { .portal-page-heading { padding:18px; }.portal-booking-page { padding:10px; }.portal-page-heading h1 { font-size:22px; } }
.portal-shell .navbar .dxm-selected,.portal-shell .navbar .dxm-checked,.portal-shell .navbar .dxm-hovered { background:rgba(190,231,235,.15) !important; border-color:transparent !important; }
.portal-shell .navbar .dxm-popup .dxm-selected,.portal-shell .navbar .dxm-popup .dxm-hovered { background:#eaf4f5 !important; }
.portal-booking-page .dxeEditAreaSys { min-height:27px !important; padding:1px 6px !important; box-sizing:border-box; }
/* Reversal and cancellation actions remain visually distinct from routine actions. */
.portal-shell .portal-action-warning { background:#fff4db !important; border-color:#dfb467 !important; color:#9b650e !important; border-left:3px solid #d89b37 !important; }
.portal-shell .portal-action-warning:hover { background:#ffeac0 !important; border-color:#cc942f !important; }
.portal-shell .portal-action-danger { background:#b94356 !important; border-color:#b94356 !important; color:#fff !important; }
.portal-shell .portal-action-danger:hover { background:#9e3045 !important; border-color:#9e3045 !important; }
.portal-shell:has(.portal-edit-booking) .body-content { width:calc(100% - 40px); max-width:1360px; }
.portal-edit-booking { overflow-x:auto; padding:15px 14px 20px; }
.portal-edit-booking .booking-rate-grid { display:flex; flex-wrap:wrap; margin-left:0; margin-right:0; row-gap:9px; }
.portal-edit-booking .booking-rate-grid>.col-md-6 { float:none; width:auto; flex:1 1 220px; min-width:0; padding-left:6px; padding-right:6px; }
.portal-edit-booking .booking-rate-grid>.col-md-6+ .col-md-6 { flex-basis:340px; }
@media(max-width:767px) { .portal-shell:has(.portal-edit-booking) .body-content { width:100%; padding-left:10px; padding-right:10px; }.portal-edit-booking { padding:10px; } }
.portal-edit-booking .booking-action-toolbar,.portal-edit-booking .booking-action-toolbar>tbody { display:block; width:100%; }
.portal-edit-booking .booking-action-toolbar>tbody>tr { display:flex; flex-wrap:wrap; align-items:center; gap:3px 6px; }
.portal-edit-booking .booking-action-toolbar>tbody>tr>td { display:flex; flex-wrap:wrap; align-items:center; min-width:0; padding:0; gap:3px; }
@media(max-width:800px) { .portal-edit-booking .dxtcFixed { min-width:650px; } }

/* Keep the two booking columns close to their divider without clipping rate actions. */
.portal-edit-booking .booking-main-columns { display:flex; flex-wrap:wrap; margin-left:0; margin-right:0; }
.portal-edit-booking .booking-main-columns>.col-md-6 { float:none; padding-left:10px; padding-right:10px; min-width:0; }
@media(min-width:992px) { .portal-edit-booking .booking-main-columns>.col-md-6:first-child { width:46%; }.portal-edit-booking .booking-main-columns>.col-md-6:last-child { width:54%; } }
