.special-price-builder{margin-top:14px;padding:14px;border:1px solid #dceaf0;border-radius:14px;background:#f7fbfd}.special-price-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.special-price-heading b,.special-price-heading small{display:block}.special-price-heading small{margin-top:3px;color:var(--muted);font-size:9px}.special-price-heading button,[data-remove-price-rule]{border:0;border-radius:9px;background:var(--brand-blue);color:#fff;font-size:9px;font-weight:850;padding:9px 11px;cursor:pointer}.special-price-row{grid-template-columns:1.2fr 1fr 1fr 1fr auto}.special-price-row>[data-remove-price-rule]{align-self:end;width:34px;height:36px;padding:0;background:#fff0e5;color:var(--brand-orange);font-size:17px}.existing-price-rules{display:grid;gap:7px;margin-top:13px}.existing-price-rules>b{font-size:10px}.existing-price-rules label{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.existing-price-rules strong,.existing-price-rules small{display:block}.existing-price-rules small{margin-top:3px;color:var(--muted)}.existing-price-rules input{width:auto;margin-left:auto}.saved-price-rules{display:none}

.booking-command-hero h2{font-size:30px}.booking-live{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid rgba(255,255,255,.32);border-radius:12px;font-size:9px;white-space:nowrap}.booking-live i{width:8px;height:8px;border-radius:50%;background:#80ebbb;box-shadow:0 0 0 5px rgba(128,235,187,.15)}.owner-week-calendar{padding:22px;margin-bottom:22px}.owner-week-calendar>header{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}.owner-week-calendar h3{margin:4px 0 0}.owner-week-calendar>header>span{color:var(--muted);font-size:10px}.week-calendar-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:9px}.week-calendar-strip article{position:relative;overflow:hidden;padding:13px;border:1px solid var(--line);border-radius:13px;background:#f9fbfc}.week-calendar-strip article.today{border-color:#66bfdf;background:var(--brand-sky);box-shadow:inset 0 3px var(--brand-orange)}.week-calendar-strip small,.week-calendar-strip b,.week-calendar-strip span{display:block}.week-calendar-strip small{color:var(--muted);font-size:8px;font-weight:850}.week-calendar-strip b{margin:4px 0;color:var(--brand-blue-dark);font-size:21px}.week-calendar-strip span{color:#6f8791;font-size:8px}.week-calendar-strip i{position:absolute;left:0;bottom:0;width:var(--load);height:3px;background:var(--brand-blue)}.booking-workspace{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:20px;align-items:start}.booking-list-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:13px}.booking-list-heading h3{margin:0}.booking-list-heading p{margin:4px 0 0;color:var(--muted);font-size:10px}.booking-filter-chips{display:flex;gap:5px}.booking-filter-chips button{padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-size:8px;font-weight:800}.booking-filter-chips button.active{border-color:var(--brand-blue);background:var(--brand-blue);color:#fff}.owner-booking-list{display:grid;gap:12px}.booking-work-card{display:grid;grid-template-columns:84px 130px minmax(0,1fr);gap:14px;padding:14px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(7,91,135,.05)}.booking-work-card.needs-action{border-left:4px solid var(--brand-orange)}.booking-work-card.hidden-filter{display:none}.booking-work-card>img{width:130px;height:100%;min-height:145px;border-radius:12px;object-fit:cover}.booking-date-rail{display:grid;justify-items:center;align-content:start;padding:10px 6px;border-radius:12px;background:var(--brand-sky);text-align:center}.booking-date-rail small{color:var(--brand-orange);font-size:8px;font-weight:900;text-transform:uppercase}.booking-date-rail b{font-size:26px;color:var(--brand-blue-dark)}.booking-date-rail span{font-size:8px;color:#5c7885}.booking-date-rail i{height:18px;border-left:1px dashed #87bfd5;margin:4px}.booking-card-main{min-width:0}.booking-card-top{display:flex;justify-content:space-between;gap:12px}.booking-card-top h3{margin:5px 0 2px;font-size:16px}.booking-card-top p{margin:0;color:var(--muted);font-size:9px}.booking-card-top>strong{color:var(--brand-blue-deep);font-size:16px;text-align:right;white-space:nowrap}.booking-card-top>strong small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.booking-customer-row{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px;margin:13px 0}.booking-customer-row span{padding:8px;border-radius:9px;background:#f5f8f9}.booking-customer-row small,.booking-customer-row b{display:block}.booking-customer-row small{color:var(--muted);font-size:7px}.booking-customer-row b{margin-top:3px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.booking-card-actions{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:10px}.booking-card-actions>a{color:var(--brand-blue-deep);font-size:8px;font-weight:850}.booking-card-actions form{display:flex;gap:5px;margin-left:auto}.booking-card-actions select{max-width:130px;padding:7px;border:1px solid var(--line);border-radius:8px;font-size:8px}.booking-card-actions button{border:0;border-radius:8px;padding:7px 10px;background:var(--brand-blue);color:#fff;font-size:8px;font-weight:850}.booking-side-guide{position:sticky;top:140px;padding:20px}.booking-side-guide h3{margin:6px 0 16px;font-size:19px}.booking-side-guide ol{list-style:none;padding:0;margin:0}.booking-side-guide li{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:12px 0;border-top:1px solid var(--line)}.booking-side-guide li>b{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--brand-sky);color:var(--brand-blue-deep);font-size:10px}.booking-side-guide strong,.booking-side-guide span{display:block}.booking-side-guide strong{font-size:10px}.booking-side-guide span{color:var(--muted);font-size:8px;line-height:1.5}

@media(max-width:1180px){.owner-vehicle-grid{grid-template-columns:1fr}.owner-editor{grid-template-columns:1fr}.owner-editor-side{position:static;grid-template-columns:1fr 1fr}.booking-workspace{grid-template-columns:1fr}.booking-side-guide{position:static}.booking-side-guide ol{display:grid;grid-template-columns:repeat(4,1fr)}.booking-side-guide li{border-top:0}.booking-work-card{grid-template-columns:76px 115px minmax(0,1fr)}}
@media(max-width:850px){.site-header{height:88px}.site-header .header-inner{min-height:88px}.brand-logo-image{width:106px;height:80px}.fleet-summary,.booking-stats{grid-template-columns:1fr 1fr}.owner-fleet-hero,.booking-command-hero{align-items:flex-start}.week-calendar-strip{overflow-x:auto;grid-template-columns:repeat(7,105px)}.booking-work-card{grid-template-columns:68px 1fr}.booking-work-card>img{display:none}.booking-side-guide ol{grid-template-columns:1fr 1fr}.owner-editor-side{grid-template-columns:1fr}.editor-section .option-picker-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.owner-fleet-hero,.booking-command-hero,.owner-edit-hero{display:grid;padding:22px}.fleet-summary,.booking-stats{grid-template-columns:1fr 1fr}.owner-editor .form-grid{grid-template-columns:1fr}.owner-editor .span-2{grid-column:1}.editor-section{padding:18px}.editor-section .option-picker-grid{grid-template-columns:1fr}.owner-vehicle-title{display:grid}.owner-vehicle-title>strong small{text-align:left}.owner-vehicle-actions{flex-wrap:wrap}.special-price-row{grid-template-columns:1fr}.booking-work-card{grid-template-columns:1fr}.booking-date-rail{grid-template-columns:auto auto auto;justify-content:start;gap:8px}.booking-date-rail i{display:none}.booking-card-top,.booking-list-heading{display:grid}.booking-customer-row{grid-template-columns:1fr}.booking-card-actions{flex-wrap:wrap}.booking-card-actions form{width:100%;margin-left:0}.booking-card-actions select{flex:1}.booking-side-guide ol{grid-template-columns:1fr}.dash-sidebar .brand-logo-image{width:135px;height:102px}}

/* One brand system across public pages and account pages */
.hero{min-height:600px;height:calc(100vh - 120px);max-height:720px;background-image:url('images/vehicles/can-tho/nha-xe-rot-lich.jpg');background-position:center 48%;background-size:cover}.hero-overlay{background:linear-gradient(90deg,rgba(4,57,86,.93) 0%,rgba(4,77,113,.72) 42%,rgba(3,61,91,.12) 78%),linear-gradient(0deg,rgba(4,57,86,.35),transparent 48%)}.hero-content{padding:50px 0 72px}.hero h1,.page-hero h1{font-family:var(--font-display)!important;font-weight:780}.hero h1 em,.page-hero h1 em,.section-heading h2 em,.protection h2 em,.owner-card h2 em,.auth-page h1 em{color:var(--brand-orange);font-weight:760}.search-button,.button-coral,.emergency-button{background:var(--brand-orange)!important}.search-panel{border:1px solid rgba(255,255,255,.7);box-shadow:0 22px 55px rgba(3,50,75,.28)}.page-hero,.auth-visual,.incident-first,.support-aside>div.accent,.pickup-journey li,.contract-studio-hero,.next-trip{background:linear-gradient(135deg,var(--brand-blue-dark),var(--brand-blue-deep))!important}.site-footer{background:var(--brand-blue-dark)!important}.support-note{background:var(--brand-orange-soft);border-left-color:var(--brand-orange)}.feature-grid i,.terms-library article>span{background:var(--brand-sky);color:var(--brand-blue-deep)}

/* Account layout: one logo in the header only */
.dash-sidebar{padding-top:22px}.dash-sidebar>.logo{display:none!important}.dash-user{margin-top:0!important}.dashboard .compare-tray{display:none!important}.booking-side-guide{display:none}.booking-workspace{grid-template-columns:1fr}.booking-command-hero{padding:22px 26px}.booking-command-hero h2{font-size:25px}.booking-command-hero p{display:none}

/* Compact fleet rows */
.fleet-summary.compact{grid-template-columns:repeat(3,minmax(150px,230px));justify-content:start}.fleet-summary.compact article{display:flex;align-items:center;justify-content:space-between;padding:13px 17px}.fleet-summary.compact b{margin:0;font-size:22px}.owner-fleet-list{padding:22px}.owner-fleet-list>.panel-head{margin-bottom:10px}.owner-fleet-table-head,.owner-fleet-row{display:grid;grid-template-columns:minmax(300px,2fr) .75fr .8fr .55fr .75fr 140px;gap:14px;align-items:center}.owner-fleet-table-head{padding:10px 14px;border-bottom:1px solid var(--line);color:var(--muted);font-size:9px;font-weight:850;text-transform:uppercase}.owner-fleet-row{padding:14px;border-bottom:1px solid var(--line)}.owner-fleet-row:last-child{border-bottom:0}.owner-fleet-row:hover{background:#f6fbfd}.fleet-car{display:grid;grid-template-columns:94px 1fr;gap:13px;align-items:center}.fleet-car img{width:94px;height:64px;border-radius:10px;object-fit:cover;background:#edf4f7}.fleet-car b,.fleet-car span,.fleet-car small,.owner-fleet-row>span small,.owner-fleet-row>strong small{display:block}.fleet-car b{font-size:13px;color:var(--brand-blue-dark)}.fleet-car span{margin:3px 0;color:var(--muted);font-size:9px}.fleet-car small{color:#8ba0aa;font-size:8px}.owner-fleet-row>span{font-size:10px;color:#3e5e6d}.owner-fleet-row>span small,.owner-fleet-row>strong small{margin-top:3px;color:var(--muted);font-size:8px}.owner-fleet-row>strong{color:var(--brand-blue-deep);font-size:13px}.owner-fleet-row .status{font-style:normal;white-space:nowrap}.fleet-row-actions{display:flex;align-items:center;gap:10px}.fleet-row-actions .button{padding:9px 13px}.fleet-row-actions>a:not(.button){color:var(--brand-blue-deep);font-size:9px;font-weight:850}

/* Personal information and avatar */
.personal-profile-form{max-width:920px;padding:26px}.avatar-editor{position:relative;flex:0 0 92px}.avatar-editor>img{width:92px!important;height:92px!important;border-radius:22px!important;object-fit:cover}.avatar-editor>label{position:absolute;left:6px;right:6px;bottom:6px;padding:5px;border-radius:7px;background:rgba(4,57,86,.88);color:#fff;text-align:center;font-size:8px;font-weight:850;cursor:pointer}.avatar-editor input{position:absolute;opacity:0;pointer-events:none}.profile-completion{margin-left:auto;padding:8px 10px;border-radius:9px;font-size:9px;font-weight:850}.profile-completion.complete{background:#e1f6ed;color:#18745a}.profile-completion.incomplete{background:#fff0e2;color:#ad6018}.profile-required-note{display:grid;gap:4px;margin:0 0 18px;padding:12px 14px;border-left:3px solid var(--brand-orange);border-radius:0 10px 10px 0;background:var(--brand-orange-soft)}.profile-required-note b{font-size:10px;color:#8f4e18}.profile-required-note span{font-size:9px;color:#876b58}.personal-profile-form input{background:#fff}

.register-complete-form{max-width:720px}.register-complete-form .auth-section-title{margin:15px 0 8px;padding-bottom:6px;border-bottom:1px solid var(--line);color:var(--brand-blue-deep);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.auth-page:has(.register-complete-form){min-height:calc(100vh - 120px)}.auth-page:has(.register-complete-form) .auth-form-wrap{align-items:flex-start;padding-top:35px;padding-bottom:55px}.auth-page:has(.register-complete-form) .auth-form{width:min(720px,100%)}

@media(max-width:1150px){.owner-fleet-table-head{display:none}.owner-fleet-row{grid-template-columns:minmax(260px,2fr) .8fr .8fr .6fr 130px}.owner-fleet-row>span:nth-of-type(3){display:none}.fleet-car{grid-template-columns:80px 1fr}.fleet-car img{width:80px;height:58px}}
@media(max-width:800px){.hero{height:auto;min-height:620px;max-height:none;background-position:62% center}.hero-content{padding:45px 0}.owner-fleet-row{grid-template-columns:1fr auto}.owner-fleet-row>span,.owner-fleet-row>strong{display:none}.fleet-row-actions{justify-content:flex-end}.fleet-summary.compact{grid-template-columns:repeat(3,1fr)}.profile-head{align-items:flex-start}.profile-completion{margin-left:0}.register-complete-form .form-pair{grid-template-columns:1fr}}
@media(max-width:520px){.fleet-summary.compact{grid-template-columns:1fr}.fleet-car{grid-template-columns:70px 1fr}.fleet-car img{width:70px;height:54px}.owner-fleet-row{padding:11px 0}.owner-fleet-list{padding:16px}.owner-fleet-list>.panel-head{align-items:flex-start}.hero h1{font-size:42px}.hero-copy>p{font-size:15px}.personal-profile-form{padding:18px}}

/* Keep the original contract configuration visible and connected */
.contract-config-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.contract-config-overview>div{display:grid;grid-template-columns:38px 1fr auto;gap:11px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(7,91,135,.05)}.contract-config-overview>div>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--brand-sky);color:var(--brand-blue-deep);font-weight:900}.contract-config-overview b,.contract-config-overview small{display:block}.contract-config-overview b{font-size:11px}.contract-config-overview small{margin-top:3px;color:var(--muted);font-size:8px}.contract-config-overview a{color:var(--brand-blue-deep);font-size:9px;font-weight:850;white-space:nowrap}.master-template-form,.upload-contract-card{scroll-margin-top:140px}
@media(max-width:900px){.contract-config-overview{grid-template-columns:1fr}}

/* Consistent actions, readable contract status and working messaging */
.button,.owner-primary,.search-button,.booking-card-actions button,.special-price-heading button{
  color:#fff!important;
}
.button.button-outline,a.button.button-outline,button.button.button-outline{
  border:1px solid #79bdd8!important;
  background:#fff!important;
  color:var(--brand-blue-deep)!important;
  box-shadow:none!important;
}
.button.button-outline:hover,a.button.button-outline:hover,button.button.button-outline:hover{
  border-color:var(--brand-blue)!important;
  background:var(--brand-sky)!important;
  color:var(--brand-blue-dark)!important;
}
.message-owner-form{margin-left:auto}.message-owner-button{min-width:145px;white-space:nowrap}
.contract-protected-view .contract-auto-banner{
  border:1px solid #b9dceb!important;
  background:#fff!important;
  color:var(--brand-blue-dark)!important;
  box-shadow:0 12px 32px rgba(7,91,135,.08)!important;
}
.contract-protected-view .contract-auto-banner b{color:var(--brand-blue-dark)!important}
.contract-protected-view .contract-auto-banner p{color:#587482!important}
.contract-protected-view .auto-icon{background:var(--brand-sky)!important;color:var(--brand-blue-deep)!important}
.contract-protected-view .contract-progress span{color:#65808c!important}
.contract-protected-view .contract-progress .done{color:var(--brand-blue-dark)!important}
.contract-protected-view .contract-progress i{border-color:#8db9ca!important;background:#fff!important;color:var(--brand-blue-deep)!important}
.contract-protected-view .contract-progress .done i{border-color:var(--brand-orange)!important;background:var(--brand-orange)!important;color:#fff!important}
.contract-protected-view .contract-progress em{background:#a7c8d5!important}

.message-center{display:grid;grid-template-columns:330px minmax(0,1fr);gap:18px;height:min(680px,calc(100vh - 195px));min-height:520px}
.conversation-list,.chat-panel{min-height:0;overflow:hidden;padding:0}
.conversation-list>header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid var(--line)}
.conversation-list>header h2{margin:2px 0 0;font-size:19px}.conversation-list>header .eyebrow{margin:0;font-size:8px}.conversation-list>header>b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:var(--brand-sky);color:var(--brand-blue-deep);font-size:11px}
.conversation-item{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:11px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--line);background:#fff;transition:.18s}
.conversation-item:hover,.conversation-item.active{background:#edf9fe}.conversation-item.active:before{content:"";position:absolute;inset:9px auto 9px 0;width:3px;border-radius:0 3px 3px 0;background:var(--brand-orange)}
.conversation-item img{width:46px;height:46px;border-radius:14px;object-fit:cover;background:#edf4f7}.conversation-item span,.conversation-item b,.conversation-item strong,.conversation-item small{display:block;min-width:0}.conversation-item b{font-size:11px;color:var(--brand-blue-dark)}.conversation-item strong{margin:2px 0;color:#426574;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-item small{color:#7a929d;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-item>i{display:grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:var(--brand-orange);color:#fff;font-size:8px;font-style:normal;font-weight:900}
.message-empty,.chat-placeholder,.chat-welcome{display:grid;justify-items:center;align-content:center;text-align:center}.message-empty{padding:55px 24px}.message-empty>span,.chat-placeholder>span,.chat-welcome>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:12px;border-radius:15px;background:var(--brand-sky);color:var(--brand-blue-deep);font-size:20px}.message-empty p,.chat-placeholder p,.chat-welcome p{max-width:360px;color:var(--muted);font-size:10px;line-height:1.6}
.chat-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f8fbfc}.chat-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff}.chat-head>div{display:flex;align-items:center;gap:11px}.chat-head img{width:42px;height:42px;border-radius:13px;object-fit:cover}.chat-head b,.chat-head small{display:block}.chat-head b{font-size:12px}.chat-head small{margin-top:2px;color:var(--muted);font-size:9px}.chat-head>a{padding:8px 10px;border-radius:9px;background:var(--brand-sky);color:var(--brand-blue-deep);font-size:9px;font-weight:850}
.chat-messages{display:flex;flex-direction:column;gap:7px;overflow-y:auto;padding:22px}.chat-welcome{margin:auto}.chat-message{display:grid;max-width:min(72%,560px)}.chat-message>div{padding:10px 13px;border:1px solid var(--line);border-radius:5px 15px 15px 15px;background:#fff;color:#294d5d;font-size:11px;line-height:1.55;overflow-wrap:anywhere}.chat-message>small{margin-top:3px;color:#8aa0aa;font-size:7px}.chat-message.mine{align-self:flex-end;justify-items:end}.chat-message.mine>div{border-color:var(--brand-blue-deep);border-radius:15px 5px 15px 15px;background:linear-gradient(135deg,var(--brand-blue-deep),var(--brand-blue));color:#fff}.chat-message.theirs{align-self:flex-start}
.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:14px;border-top:1px solid var(--line);background:#fff}.chat-compose textarea{width:100%;min-height:48px;max-height:120px;resize:vertical;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f8fbfc;outline:0;font-size:11px}.chat-compose textarea:focus{border-color:#74bdd9;box-shadow:0 0 0 3px rgba(0,143,207,.09)}.chat-compose .button{min-height:48px;padding:12px 20px}.chat-placeholder{height:100%;grid-row:1/4}

@media(max-width:900px){.message-center{grid-template-columns:260px minmax(0,1fr)}.conversation-item{grid-template-columns:40px minmax(0,1fr) auto;padding:12px}.conversation-item img{width:40px;height:40px}}
@media(max-width:680px){.owner-profile{flex-wrap:wrap}.message-owner-form,.message-owner-button{width:100%;margin-left:0}.message-center{display:block;height:auto;min-height:0}.conversation-list{max-height:340px;margin-bottom:14px}.chat-panel{height:620px}.chat-message{max-width:88%}}

/* Modern chat composer, attachments and site-wide floating messenger */
.chat-message>div p{margin:0}.chat-message>div:has(.chat-image-attachment),.chat-message>div:has(.chat-file-attachment){padding:6px}.chat-message>div p+.chat-image-attachment,.chat-message>div p+.chat-file-attachment{margin-top:7px}
.chat-image-attachment{position:relative;display:block;overflow:hidden;min-width:220px;border-radius:11px}.chat-image-attachment img{width:100%;max-height:260px;object-fit:cover}.chat-image-attachment>span{position:absolute;right:7px;bottom:7px;padding:5px 7px;border-radius:7px;background:rgba(4,57,86,.78);color:#fff;font-size:8px;font-weight:800}
.chat-file-attachment{display:flex;align-items:center;gap:10px;min-width:235px;padding:9px 11px;border-radius:10px;background:rgba(234,248,254,.96);color:var(--brand-blue-dark)}.chat-file-attachment>i{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#fff;color:var(--brand-blue-deep);font-style:normal;font-size:18px}.chat-file-attachment span,.chat-file-attachment b,.chat-file-attachment small{display:block;min-width:0}.chat-file-attachment b{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.chat-file-attachment small{margin-top:2px;color:#6d8792;font-size:7px}.chat-message.mine .chat-file-attachment{background:rgba(255,255,255,.93)}
.chat-compose{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px}.chat-compose-main{position:relative;min-width:0;border:1px solid var(--line);border-radius:15px;background:#f8fbfc;transition:.18s}.chat-compose-main:focus-within{border-color:#70bfdc;box-shadow:0 0 0 3px rgba(0,143,207,.08);background:#fff}.chat-compose textarea{display:block;min-height:42px;max-height:110px;padding:10px 12px 4px;border:0!important;background:transparent!important;box-shadow:none!important;resize:none}.chat-compose-tools{position:relative;display:flex;align-items:center;gap:3px;padding:0 7px 6px}.chat-tool{position:relative;width:29px;height:29px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#64808d;font-size:17px;cursor:pointer}.chat-tool:hover{background:var(--brand-sky);color:var(--brand-blue-deep)}.chat-tool input{position:absolute;width:1px;height:1px;opacity:0}.chat-send{align-self:stretch;min-width:54px;display:grid;place-items:center;align-content:center;gap:1px;border:0;border-radius:14px;background:linear-gradient(145deg,var(--brand-blue-deep),var(--brand-blue));color:#fff;box-shadow:0 8px 18px rgba(0,143,207,.2)}.chat-send span{font-size:16px}.chat-send b{font-size:7px}.chat-send:hover{filter:brightness(.94)}
.emoji-picker{position:absolute;left:5px;bottom:38px;z-index:8;width:226px;grid-template-columns:repeat(6,1fr);gap:4px;padding:9px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 14px 35px rgba(7,61,91,.18)}.emoji-picker:not([hidden]){display:grid}.emoji-picker button{height:29px;border:0;border-radius:8px;background:#f6fafb;font-size:17px}.emoji-picker button:hover{background:var(--brand-sky);transform:scale(1.08)}.chat-file-preview{max-width:260px;padding:4px 8px;border-radius:7px;background:var(--brand-sky);color:var(--brand-blue-deep);font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-file-preview:not([hidden]){display:inline-flex;align-items:center}.chat-file-preview img{width:28px;height:28px;margin-right:6px;border-radius:6px;object-fit:cover}
.global-chat{position:fixed;right:24px;bottom:22px;z-index:95}.chat-launcher{min-width:142px;height:54px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 18px;border:1px solid rgba(255,255,255,.5);border-radius:18px;background:linear-gradient(135deg,var(--brand-blue-deep),var(--brand-blue));color:#fff;box-shadow:0 15px 38px rgba(6,79,118,.28);font-weight:850}.chat-launcher>span{font-size:20px}.chat-launcher>b{font-size:11px}.chat-launcher>i{position:absolute;right:-5px;top:-6px;min-width:22px;height:22px;display:grid;place-items:center;padding:0 5px;border:2px solid #fff;border-radius:12px;background:var(--brand-orange);color:#fff;font-size:8px;font-style:normal}.global-chat.open .chat-launcher{transform:translateY(4px);opacity:0;pointer-events:none}
.chat-popover{position:absolute;right:0;bottom:68px;width:min(740px,calc(100vw - 32px));height:min(610px,calc(100vh - 145px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #cfe3eb;border-radius:22px;background:#fff;box-shadow:0 28px 80px rgba(4,57,86,.26);opacity:0;visibility:hidden;transform:translateY(15px) scale(.97);transform-origin:bottom right;transition:.2s ease}.global-chat.open .chat-popover{opacity:1;visibility:visible;transform:none}.chat-popover-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;background:linear-gradient(135deg,var(--brand-blue-dark),var(--brand-blue-deep));color:#fff}.chat-popover-head>div{display:flex;align-items:center;gap:10px}.chat-popover-head b,.chat-popover-head small{display:block}.chat-popover-head b{font-size:12px}.chat-popover-head small{margin-top:2px;color:#cde7f2;font-size:8px}.chat-popover-head>button{width:32px;height:32px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;font-size:20px}.chat-online-dot{width:10px;height:10px;border:2px solid #a9e7ce;border-radius:50%;background:#37c98b;box-shadow:0 0 0 5px rgba(55,201,139,.13)}
.chat-popover-body{display:grid;grid-template-columns:215px minmax(0,1fr);min-height:0}.chat-thread-rail{min-height:0;overflow-y:auto;border-right:1px solid var(--line);background:#f7fafb}.thread-rail-title{display:flex;align-items:center;justify-content:space-between;padding:13px 14px 7px;color:#68828e;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.thread-rail-title span{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:#e8f5fa;color:var(--brand-blue-deep)}.chat-thread-button{position:relative;width:100%;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 12px;border:0;border-left:3px solid transparent;background:transparent;text-align:left}.chat-thread-button:hover,.chat-thread-button.active{border-left-color:var(--brand-orange);background:#fff}.chat-thread-button img{width:40px;height:40px;border-radius:12px;object-fit:cover}.chat-thread-button span,.chat-thread-button b,.chat-thread-button small{display:block;min-width:0}.chat-thread-button b{color:var(--brand-blue-dark);font-size:9px}.chat-thread-button small{margin-top:3px;color:#78909a;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-thread-button>i{min-width:18px;height:18px;display:grid;place-items:center;border-radius:9px;background:var(--brand-orange);color:#fff;font-size:7px;font-style:normal}
.chat-widget-threads,.chat-widget-thread{min-height:0;height:100%}.chat-widget-thread{grid-template-rows:auto minmax(0,1fr) auto}.chat-widget-thread:not([hidden]){display:grid}.chat-widget-thread>header{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid var(--line);background:#fff}.chat-widget-thread>header>div{display:flex;align-items:center;gap:9px}.chat-widget-thread>header img{width:38px;height:38px;border-radius:12px;object-fit:cover}.chat-widget-thread>header b,.chat-widget-thread>header small{display:block}.chat-widget-thread>header b{font-size:10px}.chat-widget-thread>header small{color:var(--muted);font-size:8px}.chat-widget-thread>header>a{padding:6px 8px;border-radius:8px;background:var(--brand-sky);color:var(--brand-blue-deep);font-size:8px;font-weight:850}.chat-widget-messages{display:flex;flex-direction:column;gap:7px;overflow-y:auto;padding:15px;background:linear-gradient(160deg,#f8fbfc,#f2f8fa)}.chat-widget-messages .chat-message{max-width:82%}.chat-widget-messages .chat-message>div{font-size:9px}.widget-thread-welcome{margin:auto;padding:18px;text-align:center}.widget-thread-welcome b{font-size:13px}.widget-thread-welcome p{color:var(--muted);font-size:9px}.chat-compose.compact{padding:9px}.chat-compose.compact textarea{min-height:34px;font-size:9px}.chat-compose.compact .chat-send{min-width:48px}.chat-compose.compact .chat-send b{display:none}
.widget-chat-empty{display:grid;justify-items:center;align-content:center;height:100%;padding:40px;text-align:center}.widget-chat-empty>span{width:55px;height:55px;display:grid;place-items:center;border-radius:17px;background:var(--brand-sky);color:var(--brand-blue-deep);font-size:23px}.widget-chat-empty h3{margin:13px 0 4px}.widget-chat-empty p{max-width:300px;margin:0 0 16px;color:var(--muted);font-size:10px}.widget-chat-empty a{padding:9px 13px;border-radius:9px;background:var(--brand-blue);color:#fff;font-size:9px;font-weight:850}
@keyframes chatShake{25%{transform:translateX(-4px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}.chat-form-shake{animation:chatShake .25s}

/* Compact messenger: smaller shell, comfortable type and a contained emoji library */
.global-chat{right:22px;bottom:20px}
.chat-launcher{position:relative;width:58px;min-width:58px;height:58px;padding:0;border-radius:50% 50% 16px 50%;background:linear-gradient(145deg,var(--brand-blue-deep),var(--brand-blue));box-shadow:0 14px 30px rgba(6,79,118,.3);transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.chat-launcher:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(6,79,118,.36)}
.chat-launcher>span{display:grid;place-items:center;width:34px;height:34px}
.chat-launcher-icon{border-radius:13px;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.chat-launcher-icon svg{width:28px;height:28px;display:block;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chat-launcher-icon circle{fill:var(--brand-orange);stroke:0}
.chat-launcher-icon .chat-icon-bubble{filter:drop-shadow(0 2px 3px rgba(2,39,58,.22))}
.chat-launcher:hover .chat-launcher-icon{background:rgba(255,255,255,.18)}
.chat-launcher>b{display:none}
.chat-launcher::after{content:attr(data-label);position:absolute;right:68px;top:50%;padding:7px 10px;border-radius:9px;background:var(--brand-blue-dark);color:#fff;font-size:11px;font-weight:800;white-space:nowrap;opacity:0;pointer-events:none;transform:translate(7px,-50%);transition:.16s ease}
.chat-launcher:hover::after,.chat-launcher:focus-visible::after{opacity:1;transform:translate(0,-50%)}
.chat-launcher>i{right:-4px;top:-5px;min-width:21px;height:21px;font-size:9px}
.chat-popover{bottom:70px;width:min(620px,calc(100vw - 32px));height:min(520px,calc(100vh - 125px));border-radius:20px}
.chat-popover-head{padding:11px 13px}
.chat-popover-head b{font-size:14px;line-height:1.2}
.chat-popover-head small{margin-top:3px;font-size:10px}
.chat-popover-head>button{width:30px;height:30px;border-radius:9px;font-size:19px}
.chat-popover-body{grid-template-columns:180px minmax(0,1fr)}
.thread-rail-title{padding:11px 11px 6px;font-size:9px}
.chat-thread-button{grid-template-columns:38px minmax(0,1fr) auto;gap:8px;padding:9px 9px}
.chat-thread-button img{width:38px;height:38px;border-radius:11px}
.chat-thread-button b{font-size:12px;line-height:1.25}
.chat-thread-button small{margin-top:2px;font-size:10px;line-height:1.3}
.chat-thread-button>i{font-size:9px}
.chat-widget-thread>header{padding:9px 11px}
.chat-widget-thread>header img{width:36px;height:36px;border-radius:10px}
.chat-widget-thread>header b{font-size:13px;line-height:1.25}
.chat-widget-thread>header small{margin-top:2px;font-size:10px;line-height:1.25}
.chat-widget-thread>header>a{font-size:10px}
.chat-widget-messages{gap:8px;padding:12px}
.chat-widget-messages .chat-message{max-width:84%}
.chat-widget-messages .chat-message>div{font-size:13px;line-height:1.45}
.chat-widget-messages .chat-message>small{font-size:9px}
.chat-widget-messages .chat-image-attachment{min-width:180px}
.chat-widget-messages .chat-image-attachment img{max-height:210px}
.widget-thread-welcome b{font-size:15px}.widget-thread-welcome p{font-size:11px}
.chat-compose.compact{align-items:end;gap:7px;padding:8px}
.chat-compose.compact textarea{min-height:39px;padding:9px 10px 3px;font-size:13px;line-height:1.4}
.chat-compose.compact .chat-send{align-self:end;width:46px;min-width:46px;height:46px;min-height:46px;padding:0;border-radius:13px}
.chat-compose.compact .chat-send span{font-size:18px}
.chat-compose.compact .chat-send b{display:none}
.chat-compose-tools{gap:5px;padding:1px 7px 6px}
.chat-tool{width:31px;height:31px;font-size:18px}
.chat-attach-tool svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.emoji-picker{left:0;bottom:41px;width:320px;max-width:calc(100vw - 76px);max-height:min(310px,52vh);display:block;overflow-y:auto;padding:0;border-radius:16px;box-shadow:0 18px 46px rgba(7,61,91,.24)}
.emoji-picker[hidden]{display:none!important}
.emoji-picker:not([hidden]){display:block}
.emoji-picker>header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:11px 12px 9px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.97);backdrop-filter:blur(8px)}
.emoji-picker>header b{color:var(--brand-blue-dark);font-size:12px}
.emoji-picker>header small{color:var(--muted);font-size:9px}
.emoji-picker>section{padding:8px 10px 3px}
.emoji-picker>section:last-child{padding-bottom:10px}
.emoji-picker>section>span{display:block;margin:0 2px 6px;color:#6b8490;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.emoji-picker>section>div{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}
.emoji-picker button{width:100%;height:31px;padding:0;border-radius:8px;font:18px/1 "Segoe UI Emoji","Apple Color Emoji",sans-serif}
.chat-file-preview{font-size:10px}
@media(max-width:720px){.global-chat{right:14px;bottom:14px}.chat-launcher{min-width:54px;width:54px;height:54px;padding:0;border-radius:50% 50% 15px 50%}.chat-launcher>b,.chat-launcher::after{display:none}.chat-popover{position:fixed;inset:10px;width:auto;height:auto;border-radius:19px}.chat-popover-body{grid-template-columns:74px minmax(0,1fr)}.chat-thread-rail{padding-top:5px}.thread-rail-title{display:none}.chat-thread-button{grid-template-columns:42px;padding:9px 13px}.chat-thread-button span{display:none}.chat-thread-button>i{position:absolute;right:5px;top:5px}.chat-widget-thread>header>a{display:none}.chat-widget-messages .chat-message{max-width:90%}.emoji-picker{left:0;width:min(300px,calc(100vw - 118px));max-width:none}.emoji-picker>section>div{grid-template-columns:repeat(7,minmax(0,1fr))}.emoji-picker>header small{display:none}.chat-file-preview{max-width:150px}}

/* Messenger polish: cleaner floating button and calmer in-chat hierarchy */
.global-chat{right:24px;bottom:24px}
.chat-launcher{width:60px;min-width:60px;height:60px;border:0;border-radius:22px;background:linear-gradient(145deg,#0798d2 0%,#005b8a 52%,#003f63 100%);box-shadow:0 18px 42px rgba(0,91,138,.34),0 4px 0 rgba(255,127,24,.9);isolation:isolate}
.chat-launcher::before{content:"";position:absolute;inset:8px;border-radius:18px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.3)}
.chat-launcher::after{right:72px;border-radius:999px;background:#fff;color:#003f63;box-shadow:0 12px 32px rgba(0,63,99,.18)}
.chat-launcher:hover{transform:translateY(-4px);box-shadow:0 22px 46px rgba(0,91,138,.4),0 4px 0 rgba(255,127,24,.95)}
.chat-launcher-icon{position:relative;z-index:1;width:38px!important;height:38px!important;border-radius:16px;background:#fff;box-shadow:0 10px 20px rgba(0,63,99,.18)}
.chat-launcher-icon svg{width:30px;height:30px;stroke:#00699d;stroke-width:1.9}
.chat-launcher-icon circle{fill:#ff7f18}
.chat-launcher-icon .chat-icon-bubble{filter:none}
.chat-launcher>i{z-index:2;right:-5px;top:-6px;min-width:22px;height:22px;border-color:#fff;background:#ff7f18;box-shadow:0 7px 16px rgba(255,127,24,.35);font-size:10px}
.chat-popover{bottom:78px;width:min(590px,calc(100vw - 36px));height:min(560px,calc(100vh - 128px));overflow:hidden;border:1px solid rgba(0,91,138,.18);border-radius:24px;background:#fff;box-shadow:0 26px 80px rgba(0,47,72,.24)}
.chat-popover-head{min-height:56px;padding:10px 12px;background:linear-gradient(135deg,#004c74,#007db6);box-shadow:inset 0 -1px 0 rgba(255,255,255,.12)}
.chat-popover-head>div{gap:9px}.chat-online-dot{width:12px;height:12px;border-color:#bff4dc;background:#26c281;box-shadow:0 0 0 5px rgba(38,194,129,.14)}
.chat-popover-head b{font-size:14px;font-weight:900}.chat-popover-head small{font-size:10px;color:#d9f4ff}.chat-popover-head>button{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.14)}
.chat-popover-body{grid-template-columns:170px minmax(0,1fr);background:#f6fbfd}
.chat-thread-rail{padding:10px 8px;border-right:1px solid #d9edf5;background:#f9fdff}
.thread-rail-title{padding:2px 5px 8px;color:#6f8792;font-size:9px}.thread-rail-title span{width:22px;height:22px;border-radius:50%;background:#e3f5fc;color:#00699d}
.chat-thread-button{grid-template-columns:42px minmax(0,1fr) auto;gap:9px;margin-bottom:6px;padding:8px;border-left:0;border-radius:16px;background:transparent}
.chat-thread-button:hover{background:#eef8fc}.chat-thread-button.active{background:#fff;box-shadow:0 10px 24px rgba(0,91,138,.12)}
.chat-thread-button.active::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:#ff7f18}
.chat-thread-button img{width:42px;height:42px;border-radius:15px}.chat-thread-button b{font-size:12px;color:#003f63}.chat-thread-button small{font-size:10px;color:#6d8490}
.chat-widget-thread>header{min-height:56px;padding:9px 12px;border-bottom-color:#d9edf5;background:#fff}
.chat-widget-thread>header img{width:40px;height:40px;border-radius:14px}.chat-widget-thread>header b{font-size:14px;color:#003f63}.chat-widget-thread>header small{font-size:10px;color:#7b929d}.chat-widget-thread>header>a{padding:8px 10px;border-radius:999px;background:#eaf8fe;color:#00699d;font-size:10px}
.chat-widget-messages{gap:10px;padding:14px 14px 10px;background:linear-gradient(180deg,#f7fcff,#eef7fb)}
.chat-widget-messages .chat-message{max-width:78%}
.chat-widget-messages .chat-message>div{padding:10px 12px;border:0;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(0,67,101,.08);color:#173b4d;font-size:13px;line-height:1.45}
.chat-widget-messages .chat-message.theirs>div{border-top-left-radius:7px}
.chat-widget-messages .chat-message.mine>div{border-radius:18px 18px 7px 18px;background:linear-gradient(135deg,#008fcf,#00699d);box-shadow:0 10px 24px rgba(0,105,157,.2);color:#fff}
.chat-widget-messages .chat-message>small{margin-top:4px;color:#94a8b1;font-size:9px}.chat-widget-messages .chat-message.mine>small{padding-right:4px}
.chat-widget-messages .chat-image-attachment{min-width:160px;border-radius:14px}.chat-widget-messages .chat-image-attachment img{max-height:190px}
.chat-compose.compact{gap:8px;padding:10px 10px 12px;border-top:1px solid #d9edf5;background:#fff}
.chat-compose.compact .chat-compose-main{border-color:#cfe7f1;border-radius:18px;background:#f8fdff}
.chat-compose.compact .chat-compose-main:focus-within{border-color:#008fcf;background:#fff;box-shadow:0 0 0 4px rgba(0,143,207,.1)}
.chat-compose.compact textarea{min-height:42px;padding:11px 12px 4px;font-size:13px;color:#153848}
.chat-compose-tools{padding:0 8px 7px}.chat-tool{width:30px;height:30px;border-radius:50%;color:#607f8d}.chat-tool:hover{background:#e8f7fd;color:#00699d}
.chat-compose.compact .chat-send{width:48px;min-width:48px;height:48px;min-height:48px;border-radius:16px;background:linear-gradient(145deg,#ff8b24,#ff6f0f);box-shadow:0 12px 24px rgba(255,127,24,.24)}
.chat-compose.compact .chat-send span{font-size:20px}.chat-compose.compact .chat-send:hover{filter:none;transform:translateY(-1px)}
@media(max-width:720px){.global-chat{right:14px;bottom:14px}.chat-launcher{width:56px;min-width:56px;height:56px;border-radius:20px}.chat-launcher-icon{width:36px!important;height:36px!important}.chat-popover{position:fixed;inset:10px;width:auto;height:auto;border-radius:22px}.chat-popover-body{grid-template-columns:76px minmax(0,1fr)}.chat-thread-rail{padding:8px 5px}.thread-rail-title{display:none}.chat-thread-button{grid-template-columns:42px;justify-content:center;padding:7px}.chat-thread-button span{display:none}.chat-thread-button>i{position:absolute;right:4px;top:3px}.chat-widget-thread>header>a{display:none}.chat-widget-messages .chat-message{max-width:88%}.emoji-picker{left:0;width:min(300px,calc(100vw - 118px));max-width:none}.emoji-picker>section>div{grid-template-columns:repeat(7,minmax(0,1fr))}.emoji-picker>header small{display:none}}
@media print{.global-chat{display:none!important}}

/* Final floating chat button: plain, modern, no nested badge look */
.chat-launcher{width:56px;min-width:56px;height:56px;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:linear-gradient(145deg,#0798d2,#00699d 58%,#004c74);box-shadow:0 16px 34px rgba(0,91,138,.3);overflow:visible}
.chat-launcher::before{content:"";position:absolute;inset:auto;right:9px;top:9px;width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:#ff7f18;box-shadow:0 4px 10px rgba(255,127,24,.36)}
.chat-launcher::after{right:66px;background:#003f63;color:#fff}
.chat-launcher:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(0,91,138,.36)}
.chat-launcher-icon{position:relative;z-index:1;width:32px!important;height:32px!important;border-radius:0;background:transparent;box-shadow:none!important}
.chat-launcher-icon svg{width:32px;height:32px;display:block;fill:none;stroke:#fff;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
.chat-launcher-icon circle{fill:none}
.chat-launcher>i{right:-4px;top:-5px;min-width:20px;height:20px;border:2px solid #fff;border-radius:999px;background:#ff7f18;color:#fff;box-shadow:0 8px 18px rgba(255,127,24,.35);font-size:9px}
@media(max-width:720px){.chat-launcher{width:54px;min-width:54px;height:54px}.chat-launcher-icon{width:31px!important;height:31px!important}.chat-launcher-icon svg{width:31px;height:31px}.chat-launcher::after{display:none}}

.thread-rail-title{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:7px}
.thread-rail-title button{height:24px;display:inline-flex;align-items:center;gap:4px;padding:0 9px;border:1px solid rgba(0,105,157,.13);border-radius:999px;background:#fff;color:#00699d;box-shadow:0 6px 16px rgba(0,91,138,.08);font-size:9px;font-weight:900;letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer}
.thread-rail-title button em{width:14px;height:14px;display:grid;place-items:center;border-radius:50%;background:#e4f6ee;color:#0f9f6e;font-size:9px;font-style:normal;line-height:1}
.thread-rail-title button strong{font:inherit}
.thread-rail-title button:hover:not(:disabled){border-color:rgba(0,105,157,.22);background:#f7fcff;transform:translateY(-1px)}
.thread-rail-title button:disabled{opacity:.48;box-shadow:none;cursor:default}
.chat-thread-button b{font-weight:650}
.chat-thread-button small{font-weight:500}
.chat-thread-button.has-unread b{font-weight:900;color:#003f63}
.chat-thread-button.has-unread small{font-weight:800;color:#385e70}
@media(max-width:720px){.thread-rail-title{display:none}}

/* Owner center readability pass: make operational pages easier to scan */
.dashboard{
  font-size:15px;
  line-height:1.55;
}

/* Global header refresh: keep brand on the left across every screen */
.site-header{
  height:104px;
}
.site-header .header-inner{
  width:calc(100% - 56px);
  max-width:none;
  min-height:104px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:34px;
}
.site-header .logo{
  min-width:0;
  justify-self:start;
}
.site-header .brand-logo-image{
  width:154px;
  height:92px;
  object-fit:contain;
}
.site-header .main-nav{
  justify-self:start;
  width:100%;
  gap:30px;
  flex:initial;
}
.site-header .main-nav a{
  padding:38px 0 35px;
}
.site-header .main-nav a.active:after{
  bottom:25px;
}
.site-header .main-nav .owner-link{
  margin-left:auto;
  padding-left:34px;
}
.site-header .header-actions{
  justify-self:end;
}
.site-header .menu-button{
  justify-self:end;
}
@media(max-width:980px){
  .site-header .header-inner{
    width:calc(100% - 32px);
    gap:18px;
  }
  .site-header .brand-logo-image{
    width:132px;
    height:78px;
  }
}
@media(max-width:780px){
  .site-header{height:78px}
  .site-header .header-inner{
    min-height:78px;
    display:flex;
  }
  .site-header .brand-logo-image{
    width:112px;
    height:66px;
  }
  .site-header .main-nav{
    top:78px;
  }
}
.dashboard .dash-sidebar nav a{
  min-height:48px;
  padding:13px 16px;
  font-size:14px;
  line-height:1.35;
}
.dashboard .dash-user b{font-size:14px;line-height:1.3}
.dashboard .dash-user span,
.dashboard .dash-back{font-size:12px;line-height:1.4}
.dashboard .dash-content>header h1{
  font-size:35px;
  line-height:1.15;
  letter-spacing:-.035em;
}
.dashboard .dash-content>header .eyebrow,
.dashboard .eyebrow{
  font-size:12px;
  letter-spacing:.14em;
}
.dashboard .dash-date{font-size:13px}
.dashboard .dash-panel{font-size:14px}
.dashboard .panel-head h3,
.dashboard .owner-fleet-list>.panel-head h3,
.dashboard .booking-list-heading h3{
  font-size:22px;
  line-height:1.25;
}
.dashboard .panel-head span,
.dashboard .booking-list-heading p{
  font-size:13px;
  line-height:1.55;
}
.dashboard .button,
.dashboard .owner-primary,
.dashboard .booking-card-actions button,
.dashboard .booking-filter-chips button,
.dashboard .special-price-heading button{
  font-size:13px;
  line-height:1.2;
}
.dashboard .status{
  padding:7px 10px;
  font-size:11px;
  line-height:1.2;
}

/* Dashboard cards and charts */
.dashboard .metric-card span,
.dashboard .stat-card span,
.dashboard .fleet-summary span,
.dashboard .booking-stats span{
  font-size:12px;
  line-height:1.4;
}
.dashboard .metric-card b,
.dashboard .stat-card b,
.dashboard .fleet-summary b,
.dashboard .booking-stats b{
  font-size:30px;
  line-height:1.15;
}
.dashboard .metric-card small,
.dashboard .stat-card small,
.dashboard .fleet-summary small,
.dashboard .booking-stats small{
  font-size:12px;
  line-height:1.45;
}
.dashboard .chart-card h3,
.dashboard .task-card h3{
  font-size:23px;
}
.dashboard .chart-label,
.dashboard .bar-label,
.dashboard .bar-value{
  font-size:11px;
}
.dashboard .task-card p,
.dashboard .task-card a{
  font-size:13px;
  line-height:1.55;
}

/* Fleet list: return to readable table rows */
.dashboard .owner-fleet-table-head,
.dashboard .data-table th{
  font-size:12px;
  letter-spacing:.06em;
}
.dashboard .owner-fleet-row>span,
.dashboard .owner-fleet-row>strong,
.dashboard .data-table td{
  font-size:14px;
  line-height:1.45;
}
.dashboard .fleet-car b,
.dashboard .table-car b{
  font-size:15px;
  line-height:1.35;
}
.dashboard .fleet-car span,
.dashboard .table-car small{
  font-size:12px;
  line-height:1.45;
}
.dashboard .fleet-car small,
.dashboard .owner-fleet-row>span small,
.dashboard .owner-fleet-row>strong small{
  font-size:11px;
  line-height:1.4;
}
.dashboard .owner-fleet-row>strong{
  font-size:17px;
}
.dashboard .fleet-row-actions .button{
  padding:12px 16px;
  border-radius:12px;
  font-size:15px;
}
.dashboard .fleet-row-actions>a:not(.button),
.dashboard .owner-vehicle-actions>a:not(.button){
  font-size:12px;
}

/* Booking calendar and rental cards */
.dashboard .booking-command-hero h2,
.dashboard .owner-fleet-hero h2{
  font-size:34px;
  line-height:1.15;
}
.dashboard .booking-command-hero p,
.dashboard .owner-fleet-hero p,
.dashboard .booking-live{
  font-size:13px;
}
.dashboard .owner-week-calendar h3{
  font-size:24px;
}
.dashboard .owner-week-calendar>header>span{
  font-size:12px;
}
.dashboard .week-calendar-strip small{
  font-size:11px;
}
.dashboard .week-calendar-strip b{
  font-size:27px;
}
.dashboard .week-calendar-strip span{
  font-size:11px;
}
.dashboard .booking-filter-chips button{
  padding:10px 13px;
  border-radius:11px;
}
.dashboard .booking-card-top h3{
  font-size:20px;
  line-height:1.25;
}
.dashboard .booking-card-top p{
  font-size:12px;
}
.dashboard .booking-card-top>strong{
  font-size:21px;
}
.dashboard .booking-card-top>strong small{
  font-size:11px;
}
.dashboard .booking-date-rail small,
.dashboard .booking-date-rail span{
  font-size:11px;
}
.dashboard .booking-date-rail b{
  font-size:30px;
}
.dashboard .booking-customer-row small{
  font-size:11px;
}
.dashboard .booking-customer-row b{
  font-size:13px;
}
.dashboard .booking-card-actions>a,
.dashboard .booking-card-actions select,
.dashboard .booking-card-actions button{
  font-size:12px;
}

/* Vehicle cards and edit form */
.dashboard .owner-vehicle-title small{
  font-size:12px;
}
.dashboard .owner-vehicle-title h3{
  font-size:22px;
  line-height:1.25;
}
.dashboard .owner-vehicle-title p{
  font-size:13px;
}
.dashboard .owner-vehicle-title>strong{
  font-size:21px;
}
.dashboard .owner-vehicle-title>strong small{
  font-size:11px;
}
.dashboard .owner-vehicle-metrics span{
  font-size:12px;
}
.dashboard .owner-record-strip small{
  font-size:11px;
}
.dashboard .owner-record-strip code{
  font-size:12px;
}
.dashboard .editor-section>header h3{
  font-size:22px;
}
.dashboard .editor-section>header p,
.dashboard .editor-preview>p{
  font-size:13px;
  line-height:1.5;
}
.dashboard .owner-editor .form-grid label,
.dashboard .editor-custom,
.dashboard .vehicle-price-card label,
.dashboard .promotion-builder label{
  font-size:13px;
  line-height:1.35;
}
.dashboard .owner-editor input,
.dashboard .owner-editor select,
.dashboard .owner-editor textarea,
.dashboard .editor-custom input,
.dashboard .editor-custom textarea,
.dashboard .vehicle-price-card input,
.dashboard .promotion-builder input,
.dashboard .promotion-builder select{
  font-size:14px;
  line-height:1.4;
}
.dashboard .editor-option-group>b{
  font-size:13px;
}
.dashboard .editor-section .option-chip span{
  font-size:12px;
  line-height:1.35;
}
.dashboard .form-grid label>small,
.dashboard .editor-preview dl>div,
.dashboard .editor-checklist span{
  font-size:12px;
  line-height:1.45;
}

/* Pricing and promotions */
.dashboard .pricing-hero h2{
  font-size:34px;
}
.dashboard .pricing-hero p,
.dashboard .pricing-legend span,
.dashboard .vehicle-price-card small,
.dashboard .promotion-builder>small,
.dashboard .promotion-list p{
  font-size:12px;
  line-height:1.5;
}
.dashboard .vehicle-price-card h3,
.dashboard .promotion-builder h3{
  font-size:23px;
}
.dashboard .promotion-list h4{
  font-size:15px;
}
.dashboard .saved-price-rules span,
.dashboard .existing-price-rules small{
  font-size:11px;
}

/* Owner messages page */
.dashboard .conversation-list>header h2{
  font-size:22px;
}
.dashboard .conversation-list>header .eyebrow{
  font-size:11px;
}
.dashboard .conversation-item b,
.dashboard .chat-head b{
  font-size:14px;
}
.dashboard .conversation-item strong,
.dashboard .chat-head small{
  font-size:12px;
}
.dashboard .conversation-item small,
.dashboard .chat-message>small{
  font-size:11px;
}
.dashboard .chat-message>div{
  font-size:14px;
  line-height:1.5;
}
.dashboard .chat-compose textarea{
  font-size:14px;
}

@media(max-width:850px){
  .dashboard .dash-content>header h1{font-size:29px}
  .dashboard .dash-sidebar nav a{font-size:13px}
  .dashboard .booking-command-hero h2,
  .dashboard .owner-fleet-hero h2,
  .dashboard .pricing-hero h2{font-size:29px}
}

/* Fleet row actions: clearer edit wording and safe delete control */
@media(min-width:1151px){
  .dashboard .owner-fleet-table-head,
  .dashboard .owner-fleet-row{
    grid-template-columns:minmax(300px,2fr) .7fr .72fr .48fr .62fr 210px;
  }
}
.dashboard .fleet-row-actions{
  display:grid;
  grid-template-columns:1fr auto auto;
  grid-template-areas:
    "edit edit edit"
    "view visibility delete";
  align-items:center;
  gap:7px;
  max-width:210px;
}
.dashboard .fleet-row-actions form{
  margin:0;
}
.dashboard .fleet-row-actions .button{
  grid-area:edit;
  width:100%;
  min-height:40px;
  padding:11px 15px;
  border-radius:13px;
  box-shadow:0 8px 18px rgba(0,105,157,.16);
}
.dashboard .fleet-row-actions>a:not(.button){
  grid-area:view;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border:1px solid #d7eaf2;
  border-radius:999px;
  background:#fff;
  color:#00699d;
  font-size:12px;
  font-weight:900;
}
.dashboard .fleet-row-actions form:has(.fleet-visibility-button){
  grid-area:visibility;
}
.dashboard .fleet-row-actions form:has(.fleet-delete-button){
  grid-area:delete;
}
.dashboard .fleet-delete-button{
  min-height:34px;
  padding:0 10px;
  border:1px solid rgba(255,127,24,.35);
  border-radius:999px;
  background:#fff7f1;
  color:#c55b0b;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.dashboard .fleet-visibility-button{
  min-height:34px;
  padding:0 11px;
  border:1px solid rgba(0,105,157,.18);
  border-radius:999px;
  background:#eef8fc;
  color:#00699d;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.dashboard .fleet-visibility-button.hide{
  border-color:#d7e4e9;
  background:#f4f8fa;
  color:#607985;
}
.dashboard .fleet-visibility-button.show{
  border-color:rgba(22,119,92,.24);
  background:#e7f7ef;
  color:#16775c;
}
.dashboard .fleet-visibility-button:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,91,138,.08);
}
.dashboard .fleet-delete-button:hover{
  border-color:rgba(255,127,24,.62);
  background:#fff0e3;
  color:#9c4303;
}
@media(max-width:1150px) and (min-width:801px){
  .dashboard .owner-fleet-row{
    grid-template-columns:minmax(260px,2fr) .75fr .75fr .55fr 210px;
  }
}

/* Compact vehicle actions: keep every operation inside one update menu */
@media(min-width:1151px){
  .dashboard .owner-fleet-table-head,
  .dashboard .owner-fleet-row{
    grid-template-columns:minmax(300px,2fr) .74fr .76fr .5fr .62fr 132px;
  }
}
.dashboard .fleet-row-actions{
  display:flex;
  justify-content:flex-start;
  max-width:132px;
}
.dashboard .fleet-action-menu{
  position:relative;
  width:132px;
}
.dashboard .fleet-action-menu summary{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 15px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--brand-blue-deep),var(--brand-blue));
  color:#fff;
  box-shadow:0 10px 22px rgba(0,105,157,.18);
  font-size:14px;
  font-weight:900;
  list-style:none;
  cursor:pointer;
}
.dashboard .fleet-action-menu summary::-webkit-details-marker{
  display:none;
}
.dashboard .fleet-action-menu summary:after{
  content:"⌄";
  font-size:13px;
  line-height:1;
  transform:translateY(-1px);
}
.dashboard .fleet-action-menu[open] summary{
  border-radius:14px 14px 10px 10px;
  filter:brightness(.96);
}
.dashboard .fleet-action-panel{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  z-index:30;
  width:184px;
  display:grid;
  gap:6px;
  padding:8px;
  border:1px solid #d6eaf2;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 42px rgba(0,62,96,.16);
}
.dashboard .fleet-action-panel a,
.dashboard .fleet-action-panel button{
  width:100%;
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0 11px;
  border-radius:10px;
  border:0;
  background:#f5fbfe;
  color:#004c74;
  box-shadow:none;
  font-size:13px;
  font-weight:850;
  text-align:left;
}
.dashboard .fleet-action-panel a:hover,
.dashboard .fleet-action-panel button:hover{
  background:#e8f6fc;
  transform:none;
}
.dashboard .fleet-action-panel form{
  margin:0;
}
.dashboard .fleet-action-panel .fleet-visibility-button.show{
  background:#e7f7ef;
  color:#16775c;
}
.dashboard .fleet-action-panel .fleet-visibility-button.hide{
  background:#f3f7f9;
  color:#607985;
}
.dashboard .fleet-action-panel .fleet-delete-button{
  border:0;
  background:#fff3eb;
  color:#bd560b;
}
@media(max-width:1150px) and (min-width:801px){
  .dashboard .owner-fleet-row{
    grid-template-columns:minmax(260px,2fr) .8fr .8fr .55fr 132px;
  }
}

/* Fleet list redesign: cleaner card rows and a calmer action menu */
.dashboard .owner-fleet-list{
  overflow:visible;
  padding:26px;
  border-radius:24px;
  background:linear-gradient(180deg,#fff,#fbfdfe);
}
.dashboard .owner-fleet-list>.panel-head{
  align-items:center;
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid #d9edf5;
}
.dashboard .owner-fleet-list>.panel-head h3{
  font-size:24px;
}
.dashboard .owner-fleet-list>.panel-head .panel-privacy-caption{
  display:block;
  margin-top:5px;
  max-width:620px;
  color:#68818d;
  font-size:12px;
  line-height:1.5;
}
.dashboard .owner-fleet-table-head{
  display:none!important;
}
.dashboard .owner-fleet-rows{
  display:grid;
  gap:12px;
}
.dashboard .owner-fleet-row{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(330px,1.7fr) 118px 142px 90px 108px 124px!important;
  gap:16px;
  align-items:center;
  min-height:106px;
  padding:14px 16px!important;
  border:1px solid #d4e9f2;
  border-radius:20px;
  background:linear-gradient(90deg,#fff 0%,#fbfdff 66%,#f5fbfe 100%);
  box-shadow:0 10px 26px rgba(0,73,112,.055);
}
.dashboard .owner-fleet-row:hover{
  border-color:#b9deee;
  background:#fff;
  box-shadow:0 16px 34px rgba(0,73,112,.09);
  transform:translateY(-1px);
}
.dashboard .fleet-car{
  grid-template-columns:112px minmax(0,1fr);
  gap:14px;
}
.dashboard .fleet-car img{
  width:112px;
  height:74px;
  border-radius:16px;
  box-shadow:0 8px 18px rgba(0,63,99,.1);
}
.dashboard .fleet-car b{
  font-size:16px;
  line-height:1.28;
}
.dashboard .fleet-car span{
  margin:5px 0 2px;
  font-size:12px;
}
.dashboard .fleet-car small{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:4px 8px;
  border-radius:999px;
  background:#eef7fb;
  color:#5d7d8b;
  font-size:11px;
  font-weight:800;
}
.dashboard .owner-fleet-row>span,
.dashboard .owner-fleet-row>strong{
  display:grid;
  gap:4px;
  align-content:center;
  min-width:0;
}
.dashboard .owner-fleet-row>span:before,
.dashboard .owner-fleet-row>strong:before{
  color:#7c94a0;
  font-size:10px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.dashboard .owner-fleet-row>span:nth-of-type(1):before{content:"Dịch vụ"}
.dashboard .owner-fleet-row>strong:before{content:"Giá thuê"}
.dashboard .owner-fleet-row>span:nth-of-type(2):before{content:"Chuyến"}
.dashboard .owner-fleet-row>span:nth-of-type(3):before{content:"Trạng thái"}
.dashboard .owner-fleet-row>span:nth-of-type(1){
  color:#2f596b;
  font-size:14px;
  font-weight:850;
}
.dashboard .owner-fleet-row>span:nth-of-type(1) small,
.dashboard .owner-fleet-row>span:nth-of-type(2) small,
.dashboard .owner-fleet-row>strong small{
  margin:0;
  color:#7893a0;
  font-size:11px;
}
.dashboard .owner-fleet-row>strong{
  color:#00699d;
  font-size:18px;
}
.dashboard .owner-fleet-row>span:nth-of-type(2) b{
  color:#1f536b;
  font-size:17px;
}
.dashboard .owner-fleet-row>span:nth-of-type(3) .status{
  justify-self:start;
  padding:7px 10px;
  border-radius:999px;
}
.dashboard .fleet-row-actions{
  justify-self:end;
  max-width:none;
}
.dashboard .fleet-action-menu{
  width:122px;
}
.dashboard .fleet-action-menu summary{
  min-height:44px;
  border-radius:15px;
  background:linear-gradient(135deg,#00699d,#008fcf);
  box-shadow:0 12px 24px rgba(0,105,157,.2);
}
.dashboard .fleet-action-menu summary:after{
  content:"⌄";
}
.dashboard .fleet-action-panel{
  right:0;
  top:calc(100% + 10px);
  width:210px;
  gap:7px;
  padding:10px;
  border-radius:18px;
  border-color:#cce6f1;
  box-shadow:0 24px 54px rgba(0,63,99,.2);
}
.dashboard .fleet-action-panel:before{
  content:"";
  position:absolute;
  top:-7px;
  right:26px;
  width:14px;
  height:14px;
  border-left:1px solid #cce6f1;
  border-top:1px solid #cce6f1;
  background:#fff;
  transform:rotate(45deg);
}
.dashboard .fleet-action-panel a,
.dashboard .fleet-action-panel button{
  position:relative;
  z-index:1;
  min-height:40px;
  border-radius:13px;
  font-size:13px;
}
@media(max-width:1180px){
  .dashboard .owner-fleet-row{
    grid-template-columns:minmax(290px,1.6fr) 105px 125px 82px 100px 122px!important;
    gap:12px;
  }
}
@media(max-width:900px){
  .dashboard .owner-fleet-row{
    grid-template-columns:1fr auto!important;
    gap:12px;
  }
  .dashboard .owner-fleet-row>span,
  .dashboard .owner-fleet-row>strong{
    display:none;
  }
  .dashboard .fleet-row-actions{
    align-self:start;
  }
}

/* Fix hiển thị sau khi chuyển header sang logo trái và gom thao tác xe */
.site-header .header-inner{
  grid-template-columns:174px minmax(0,1fr) auto!important;
  justify-content:normal!important;
}
.site-header .logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:174px!important;
  min-width:174px!important;
  max-width:174px!important;
  overflow:visible!important;
  opacity:1!important;
  visibility:visible!important;
}
.site-header .brand-logo-image{
  display:block!important;
  width:154px!important;
  min-width:154px!important;
  max-width:154px!important;
  height:92px!important;
  object-fit:contain!important;
  opacity:1!important;
  visibility:visible!important;
  mix-blend-mode:normal!important;
}
.dashboard .owner-fleet-list,
.dashboard .owner-fleet-rows,
.dashboard .owner-fleet-row,
.dashboard .fleet-row-actions,
.dashboard .fleet-action-menu{
  overflow:visible!important;
}
.dashboard .owner-fleet-row{
  z-index:1;
}
.dashboard .owner-fleet-row:has(.fleet-action-menu[open]){
  z-index:90;
  border-color:#8fd0eb;
  box-shadow:0 20px 48px rgba(0,73,112,.16);
}
.dashboard .fleet-action-menu{
  position:relative;
}
.dashboard .fleet-action-panel{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  align-items:stretch!important;
  right:0!important;
  top:calc(100% + 12px)!important;
  z-index:100!important;
}
.dashboard .fleet-action-panel a,
.dashboard .fleet-action-panel button{
  width:100%!important;
  justify-content:flex-start!important;
  white-space:normal!important;
}
.dashboard .fleet-action-panel form{
  width:100%!important;
}
@media(max-width:780px){
  .site-header .header-inner{
    grid-template-columns:128px 1fr auto!important;
    gap:14px!important;
  }
  .site-header .logo{
    width:128px!important;
    min-width:128px!important;
    max-width:128px!important;
  }
  .site-header .brand-logo-image{
    width:118px!important;
    min-width:118px!important;
    max-width:118px!important;
    height:72px!important;
  }
}

/* Clear navigation for every dashboard subpage */
.dashboard .dash-heading-wrap{
  display:grid;
  justify-items:start;
}
.dashboard .dash-page-back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  margin-bottom:10px;
  padding:0 12px;
  border:1px solid #cfe5ee;
  border-radius:999px;
  background:#fff;
  color:#00699d;
  box-shadow:0 6px 16px rgba(0,91,138,.06);
  font-size:12px;
  font-weight:850;
}
.dashboard .dash-page-back:hover{
  border-color:#8fcce3;
  background:#f4fbfe;
}

/* Owner booking flow: one clear next action per order */
.dashboard .booking-stats-simple{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-bottom:18px;
}
.dashboard .booking-stats-simple article{
  min-height:112px;
  padding:20px 22px;
}
.dashboard .simple-calendar{
  margin-bottom:26px;
  padding:20px 22px;
}
.dashboard .simple-calendar .week-calendar-strip article{
  min-height:90px;
  padding:11px 13px;
}
.dashboard .simple-calendar .week-calendar-strip b{
  font-size:24px;
}
.dashboard .simple-calendar .week-calendar-strip span{
  font-size:11px;
}
.dashboard .booking-simple-section{
  display:grid;
  gap:14px;
}
.dashboard .booking-simple-card{
  grid-template-columns:150px minmax(0,1fr);
  gap:18px;
  min-height:0;
  padding:16px;
  border-radius:20px;
}
.dashboard .booking-simple-card>img{
  width:150px;
  height:100%;
  min-height:210px;
  border-radius:15px;
}
.dashboard .booking-simple-card .booking-card-top h3{
  margin-top:8px;
  font-size:19px;
}
.dashboard .booking-simple-card .booking-card-top p{
  font-size:12px;
}
.dashboard .booking-simple-card .booking-card-top>strong{
  font-size:19px;
}
.dashboard .booking-time-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:12px;
  margin:14px 0 10px;
  padding:12px 14px;
  border-radius:13px;
  background:#edf8fc;
}
.dashboard .booking-time-row span{
  display:grid;
  gap:3px;
}
.dashboard .booking-time-row small{
  color:#6d8793;
  font-size:11px;
  font-weight:750;
}
.dashboard .booking-time-row b{
  color:#073f5c;
  font-size:14px;
}
.dashboard .booking-time-row i{
  color:#ff7f18;
  font-style:normal;
  font-weight:900;
}
.dashboard .booking-customer-row.compact{
  grid-template-columns:1fr 1.5fr;
  margin:0 0 12px;
}
.dashboard .booking-customer-row.compact span{
  padding:10px 12px;
}
.dashboard .booking-customer-row.compact small{
  font-size:10px;
}
.dashboard .booking-customer-row.compact b{
  font-size:12px;
}
.dashboard .simple-actions{
  gap:8px;
  padding-top:12px;
}
.dashboard .booking-secondary-links{
  display:flex;
  gap:8px;
}
.dashboard .booking-secondary-links a{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border:1px solid #cfe5ee;
  border-radius:10px;
  background:#fff;
  color:#00699d;
  font-size:12px;
  font-weight:850;
}
.dashboard .booking-card-actions .booking-cancel-form{
  margin-left:auto;
}
.dashboard .booking-card-actions .booking-cancel-form button{
  min-height:38px;
  border:1px solid #f2d6c2;
  background:#fff7f1;
  color:#b8520a;
  box-shadow:none;
}
.dashboard .booking-card-actions .booking-next-form{
  margin-left:0;
}
.dashboard .booking-card-actions .booking-next-form button{
  min-height:40px;
  padding:0 16px;
  background:linear-gradient(135deg,#ff7f18,#ff9a3d);
  box-shadow:0 10px 20px rgba(255,127,24,.2);
  font-size:13px;
}
.dashboard .booking-finished{
  margin-left:auto;
  padding:9px 12px;
  border-radius:999px;
  background:#edf6f2;
  color:#16775c;
  font-size:12px;
  font-weight:850;
}

/* Paused vehicles remain manageable but are visually distinct */
.dashboard .fleet-summary.compact{
  grid-template-columns:repeat(4,minmax(150px,230px))!important;
}
.dashboard .owner-fleet-row.is-paused{
  background:linear-gradient(90deg,#f8fbfd 0%,#f1f7fa 100%);
}
.dashboard .owner-fleet-row.is-paused .fleet-car img{
  filter:saturate(.72);
  opacity:.82;
}
.dashboard .status.paused{
  background:#edf2f5!important;
  color:#58717e!important;
}

@media(max-width:850px){
  .dashboard .booking-stats-simple{
    grid-template-columns:1fr 1fr;
  }
  .dashboard .booking-simple-card{
    grid-template-columns:120px minmax(0,1fr);
  }
  .dashboard .booking-simple-card>img{
    width:120px;
  }
  .dashboard .booking-customer-row.compact{
    grid-template-columns:1fr;
  }
  .dashboard .fleet-summary.compact{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:620px){
  .dashboard .dash-page-back span{display:none}
  .dashboard .booking-stats-simple{grid-template-columns:1fr}
  .dashboard .booking-simple-card{grid-template-columns:1fr}
  .dashboard .booking-simple-card>img{width:100%;height:190px;min-height:0}
  .dashboard .booking-time-row{grid-template-columns:1fr}
  .dashboard .booking-time-row i{display:none}
  .dashboard .simple-actions{align-items:stretch}
  .dashboard .booking-secondary-links{width:100%}
  .dashboard .booking-secondary-links a{flex:1;justify-content:center}
  .dashboard .booking-card-actions .booking-cancel-form,
  .dashboard .booking-card-actions .booking-next-form{width:100%;margin:0}
  .dashboard .booking-card-actions .booking-cancel-form button,
  .dashboard .booking-card-actions .booking-next-form button{width:100%;justify-content:center}
}

/* Unified button colors: readable contrast in every state */
.button,
button.button,
.dashboard .booking-next-form button,
.dashboard .fleet-action-menu summary{
  color:#fff!important;
  text-shadow:none!important;
}
.button,
button.button{
  border-color:transparent!important;
  background:linear-gradient(135deg,#00699d,#0094d3)!important;
}
.button:hover,
button.button:hover{
  background:linear-gradient(135deg,#005b89,#007fb7)!important;
}
.button-coral,
button.button-coral{
  background:linear-gradient(135deg,#f36f17,#ff9134)!important;
}
.button-outline,
button.button-outline{
  border:1px solid #8fc8df!important;
  background:#fff!important;
  color:#00618f!important;
  box-shadow:none!important;
}
.dashboard .booking-card-actions .booking-cancel-form button{
  border:1px solid #f0bd98!important;
  background:#fff2e8!important;
  color:#a94705!important;
  opacity:1!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
.dashboard .booking-card-actions .booking-cancel-form button:hover{
  border-color:#ea9d65!important;
  background:#ffe5d2!important;
  color:#8d3900!important;
}
.dashboard .booking-card-actions .booking-next-form button{
  border:0!important;
  background:linear-gradient(135deg,#f36f17,#ff9134)!important;
  opacity:1!important;
}
.dashboard .booking-filter-chips button{
  background:#fff!important;
  color:#53717f!important;
}
.dashboard .booking-filter-chips button.active{
  border-color:#007fb7!important;
  background:#007fb7!important;
  color:#fff!important;
}
.dashboard .fleet-action-panel .fleet-delete-button{
  background:#fff0e6!important;
  color:#a94705!important;
}
.dashboard .fleet-action-panel .fleet-visibility-button.hide{
  background:#eef4f7!important;
  color:#425f6d!important;
}
.dashboard .fleet-action-panel .fleet-visibility-button.show{
  background:#e3f7ee!important;
  color:#0d7255!important;
}
button:disabled,
.button:disabled{
  opacity:.58!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}

/* Email OTP registration */
.otp-auth-page{
  min-height:calc(100vh - 104px);
}
.otp-auth-visual{
  background:linear-gradient(0deg,rgba(2,65,99,.9),rgba(0,105,157,.62)),url('images/vehicles/can-tho/tu-lai-co-tai.jpg') center/cover;
}
.otp-card{
  max-width:470px;
  padding:34px;
  border:1px solid #d5e9f1;
  border-radius:24px;
  background:#fff;
  box-shadow:0 24px 60px rgba(0,72,108,.12);
}
.otp-mail-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#e8f7fd;
  color:#007eb8;
  font-size:25px;
}
.otp-card>p{
  margin:-4px 0 4px;
  color:#617984;
  font-size:14px;
  line-height:1.65;
}
.otp-card>p b{color:#073f5c}
.otp-verify-form{
  display:grid;
  gap:15px;
}
.otp-verify-form label{
  display:grid;
  gap:8px;
  color:#3c5a68;
  font-size:13px;
  font-weight:850;
}
.otp-verify-form input{
  width:100%;
  min-height:64px;
  border:2px solid #b9ddea;
  border-radius:16px;
  background:#f8fcfe;
  color:#005d8b;
  outline:0;
  text-align:center;
  font-size:28px;
  font-weight:900;
  letter-spacing:.36em;
}
.otp-verify-form input:focus{
  border-color:#008dca;
  box-shadow:0 0 0 4px rgba(0,141,202,.1);
}
.otp-resend-form{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#708690;
  font-size:12px;
}
.otp-resend-form button{
  padding:0;
  border:0;
  background:transparent;
  color:#0077ac;
  font-weight:900;
}
.otp-local-debug{
  display:grid;
  grid-template-columns:1fr auto;
  gap:5px 12px;
  padding:13px 15px;
  border:1px dashed #efb27e;
  border-radius:13px;
  background:#fff8f0;
  color:#7e4b21;
  font-size:12px;
}
.otp-local-debug code{
  color:#bd570b;
  font-size:19px;
  font-weight:900;
  letter-spacing:.12em;
}
.otp-local-debug small{grid-column:1/-1;color:#8a6c55}
.otp-back-link{
  justify-self:center;
  color:#55727f;
  font-size:12px;
  font-weight:800;
}
@media(max-width:780px){
  .otp-auth-page{min-height:calc(100vh - 78px)}
  .otp-auth-visual{display:none}
  .otp-card{padding:26px 20px}
}

/* Social account sign-in */
.google-auth-area,.social-auth-area{margin:18px 0 0}
.social-auth-area{display:grid;gap:10px}
.google-auth-button,.facebook-auth-button{
  width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:12px;
  padding:12px 18px;border:1px solid #cfdce2;border-radius:13px;background:#fff;color:#183743;
  font-size:15px;font-weight:760;text-decoration:none;box-shadow:0 5px 18px rgba(7,74,107,.06);
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease
}
.google-auth-button:hover,.facebook-auth-button:hover{border-color:#92b8c9;box-shadow:0 9px 24px rgba(7,74,107,.12);transform:translateY(-1px)}
.google-auth-button svg,.facebook-auth-button svg{width:22px;height:22px;flex:0 0 22px}
.facebook-auth-button{border-color:#1877f2;background:#1877f2;color:#fff}
.facebook-auth-button:hover{border-color:#1267d4;color:#fff;box-shadow:0 9px 24px rgba(24,119,242,.22)}
.google-auth-button.is-disabled,.facebook-auth-button.is-disabled{background:#f5f7f8;color:#71838b;box-shadow:none;cursor:not-allowed}
.auth-divider{display:flex;align-items:center;gap:12px;margin:18px 0;color:#81949c;font-size:12px;font-weight:650}
.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#dce6ea}
.auth-divider span{white-space:nowrap}

.profile-social-grid{display:grid;gap:14px;margin-bottom:16px}
.profile-google-card{
  display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:16px;
  margin-bottom:0;padding:20px 22px
}
.profile-google-card h3{margin:2px 0 4px;color:var(--brand-blue-dark);font-size:18px}
.profile-google-card small{color:var(--brand-orange);font-size:10px;font-weight:850;letter-spacing:.11em}
.profile-google-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.google-link-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid #d6e3e8;border-radius:14px;background:#fff;box-shadow:0 5px 14px rgba(7,74,107,.08)}
.google-link-icon span{font-size:23px;font-weight:900;background:linear-gradient(135deg,#4285f4 10%,#34a853 38%,#fbbc05 62%,#ea4335 86%);-webkit-background-clip:text;background-clip:text;color:transparent}
.facebook-link-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid #d4e3fb;border-radius:14px;background:#1877f2;box-shadow:0 5px 14px rgba(24,119,242,.18)}
.facebook-link-icon span{color:#fff;font-family:Arial,sans-serif;font-size:31px;font-weight:800;line-height:1;transform:translateY(3px)}
.google-linked-badge,.google-pending-badge{padding:9px 12px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}
.google-linked-badge{background:#e4f7ef;color:#167654}
.google-pending-badge{background:#f1f4f5;color:#71838b}
@media(max-width:760px){
  .profile-google-card{grid-template-columns:48px 1fr;padding:18px}
  .profile-google-card>.button,.profile-google-card>.google-linked-badge,.profile-google-card>.google-pending-badge{grid-column:1/-1;text-align:center;justify-content:center}
}
