/* Account pages (register, My Account dashboard, header Account menu, favourite hearts).
   Loaded after header-nav.css. Accent = each brand's footer colour, as the drawer. */
#alpinebooker{ --acc:#4371b5; }
#azurebooker{ --acc:#a87029; }
#urbanbooker{ --acc:#c55a24; }

.acc-title{ font-family:'Playfair Display', serif; font-weight:400; color:var(--acc); font-size:44px; line-height:1.15; margin:0 0 8px; }
.acc-sub{ font-style:italic; font-size:18px; color:#555; margin:0 0 26px; }

/* ---- register ---- */
.acc-register{ display:flex; gap:56px; align-items:stretch; margin:24px 0 40px; }
.acc-register-form{ flex:1 1 0; max-width:560px; padding-left:20px; }
.acc-register-img{ flex:1 1 0; min-height:640px; position:relative; background:#4a6f99 center 35%/cover no-repeat; }
/* blue wash behind the text (mockup), fading out over the photo */
.acc-register-img:before{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(38,72,120,.82) 0%, rgba(38,72,120,.55) 45%, rgba(38,72,120,0) 72%); }
.acc-register-panel{ position:relative; padding:72px 56px 40px; color:#fff; }
.acc-register-panel h2{ font-family:'Playfair Display', serif; font-weight:400; font-size:44px; line-height:1.1; color:#fff; margin:0 0 34px; max-width:380px; }
.acc-register-panel ul{ list-style:none; margin:0; padding:0; }
.acc-register-panel li{ display:flex; align-items:center; gap:22px; margin-bottom:24px; font-size:21px; font-weight:700; }
.acc-register-panel svg{ flex:0 0 38px; width:38px; height:38px; fill:none; stroke:#fff; stroke-width:1.6; stroke-linejoin:round; stroke-linecap:round; }
.acc-register-panel svg .dots{ stroke-width:2.6; }
.acc-register-panel li span{ border-left:1px solid rgba(255,255,255,.55); padding:6px 0 6px 22px; }
.acc-register .form-group, .acc-register form > div{ margin-bottom:14px; }
.acc-register label{ font-weight:700; color:#333; }
.acc-register label.required:after{ content:" *"; }
.acc-register input[type=text], .acc-register input[type=email], .acc-register input[type=password]{
  width:100%; height:38px; border:1px solid #ccc; padding:6px 10px; box-shadow:none; }
.acc-submit{ width:100%; height:46px; font-size:17px; margin-top:6px; }
.acc-login-link{ margin-top:14px; font-size:16px; }
.acc-login-link a{ color:#9b1c33; font-weight:700; text-decoration:underline; }

@media (max-width:767px){
  .acc-register{ flex-direction:column; gap:24px; margin-top:10px; }
  .acc-register-form{ padding-left:0; max-width:none; }
  .acc-register-img{ min-height:420px; }
  .acc-register-img:before{ background:linear-gradient(180deg, rgba(38,72,120,.85) 0%, rgba(38,72,120,.6) 65%, rgba(38,72,120,.1) 100%); }
  .acc-register-panel{ padding:36px 24px; }
  .acc-register-panel h2{ font-size:32px; margin-bottom:24px; }
  .acc-register-panel li{ font-size:17px; gap:16px; margin-bottom:16px; }
  .acc-register-panel li span{ padding-left:16px; }
  .acc-title{ font-size:32px; }
}

/* ---- header Account menu (li.dropdown.abh-acct in header.html.twig) ---- */
.abh2-right .abh-acct > a.abh2-acct-link .abh-acctlabel{ text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.abh2-acct-caret{ display:inline-block; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:rotate(45deg); margin:-4px 0 0 2px; transition:transform .2s; }
.abh-acct.open .abh2-acct-caret{ transform:rotate(-135deg); margin-top:3px; }
.abh2-right .abh2-acct-menu{ left:auto; right:0; min-width:210px; padding:8px 0; border:0; box-shadow:0 8px 24px rgba(0,0,0,.14); }
.abh2-right .abh2-acct-menu > li > a{ display:flex; align-items:center; gap:12px; padding:9px 20px; color:#222; font-size:16px; font-weight:700; }
.abh2-right .abh2-acct-menu > li > a:hover{ background:#f4f6f8; color:#122531; }
.abh2-right .abh2-acct-menu i{ font-size:22px; width:24px; text-align:center; color:#444; }

/* ---- favourite heart (favorite_heart.html.twig), bottom-right over a photo ---- */
.acc-fav{ position:absolute; right:12px; bottom:12px; z-index:5; width:42px; height:42px; padding:9px; border:0; border-radius:50% !important;
  background:rgba(255,255,255,.9); color:#9b1c33; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.18); line-height:0; }
.acc-fav svg{ width:100%; height:100%; fill:none; }
.acc-fav.is-saved svg{ fill:currentColor; }
.acc-fav:hover{ transform:scale(1.08); }

/* ---- My Account dashboard (account_profile.html.twig) ---- */
.acc-banner{ margin-left:calc(50% - 50vw); width:100vw; min-height:230px; display:flex; align-items:center; background-position:center 40% !important;
  background:var(--acc) center/cover no-repeat; color:#fff; position:relative; margin-bottom:28px; }
.acc-banner:before{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(10,25,40,.55), rgba(10,25,40,0) 70%); }
.acc-banner-in{ position:relative; width:100%; max-width:1170px; margin:0 auto; padding:40px 15px; }
.acc-eyebrow{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; margin-bottom:10px; }
.acc-banner h1{ font-family:'Playfair Display', serif; font-weight:400; font-size:44px; margin:0 0 8px; color:#fff; }
.acc-banner p{ font-size:17px; margin:0; }

.acc-dash .acc-card{ background:#fff; border:1px solid #e6e9ee; padding:24px 24px 20px; margin:0 0 22px 22px; scroll-margin-top:120px; }
.acc-card-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:16px; }
.acc-card-head h2{ font-family:'Playfair Display', serif; font-weight:400; color:#24364a; font-size:28px; margin:0 0 4px; }
.acc-card-head p{ color:#7a828c; font-size:13px; margin:0; }
.acc-btn{ border:1px solid #d5dae1; padding:7px 14px; font-size:13px; font-weight:700; color:#24364a !important; white-space:nowrap; text-decoration:none !important; }
.acc-btn:hover{ background:#f4f6f8; }
.acc-card-foot{ margin-top:12px; font-size:13px; }

.acc-profile{ display:flex; gap:32px; align-items:center; }
.acc-avatar{ flex:0 0 108px; height:108px; border-radius:50% !important; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, color-mix(in srgb, var(--acc) 55%, #fff), var(--acc)); color:#fff; font-family:'Playfair Display', serif; font-size:36px; }
.acc-rows{ flex:1; display:grid; grid-template-columns:minmax(110px, 1fr) 2fr; margin:0; font-size:14px; }
.acc-rows dt, .acc-rows dd{ padding:8px 0; border-bottom:1px solid #eef0f3; margin:0; }
.acc-rows dt{ font-weight:400; color:#7a828c; }

.acc-tabs{ display:flex; gap:8px; margin-bottom:16px; flex-wrap:wrap; }
.acc-tabs button{ border:1px solid #d5dae1; background:#fff; padding:7px 16px; font-size:13px; }
.acc-tabs button.active{ background:var(--acc); border-color:var(--acc); color:#fff; }
.acc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.acc-item{ display:flex; gap:14px; align-items:center; border:1px solid #e6e9ee; padding:12px; color:inherit !important; text-decoration:none !important; position:relative; }
.acc-item[hidden], .acc-empty[hidden]{ display:none; }
.acc-item img{ width:78px; height:62px; object-fit:cover; flex:0 0 78px; }
.acc-item span{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.acc-item strong{ font-family:'Playfair Display', serif; font-weight:400; font-size:16px; color:#24364a; }
.acc-item small{ color:#7a828c; font-size:12px; }
.acc-item--card{ padding:16px; }
.acc-item--card strong{ font-family:inherit; font-weight:700; font-size:13px; letter-spacing:.04em; }
.acc-item--saved{ padding-right:60px; }
.acc-item--saved .acc-fav{ right:10px; bottom:auto; top:50%; margin-top:-19px; width:38px; height:38px; padding:8px; box-shadow:none; background:#f6f7f9; }
.acc-chip{ align-self:flex-start; font-style:normal; font-size:11px; padding:1px 8px; margin-top:4px; background:#e8f5ec; color:#2e7d4f; }
.acc-chip--cancelled{ background:#fbeaea; color:#b02a2a; }
.acc-chip--past{ background:#eef0f3; color:#5c6670; }
.acc-empty{ grid-column:1 / -1; color:#7a828c; margin:0; }
.acc-note{ color:#7a828c; font-size:12px; margin:14px 0 0; }

.acc-pref{ display:grid; grid-template-columns:1fr 1fr auto; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #eef0f3; font-size:14px; }
.acc-pref small{ color:#7a828c; font-size:12px; }
.acc-pref-v{ justify-self:end; }
select.acc-pref-v{ border:0; background:transparent; font-size:14px; cursor:pointer; }
.acc-switch{ justify-self:end; position:relative; width:42px; height:24px; margin:0; cursor:pointer; }
.acc-switch input{ position:absolute; opacity:0; }
.acc-switch i{ position:absolute; inset:0; background:#cfd5dc; border-radius:12px !important; transition:background .2s; }
.acc-switch i:after{ content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; background:#fff; border-radius:50% !important; transition:transform .2s; }
.acc-switch input:checked + i{ background:var(--acc); }
.acc-switch input:checked + i:after{ transform:translateX(18px); }
.acc-switch input:disabled + i{ opacity:.6; cursor:not-allowed; }

/* sidebar (account_left_col.html.twig, also on the other account pages) */
.acc-side{ display:flex; flex-direction:column; gap:2px; padding-right:12px; }
.acc-side a{ display:flex; align-items:center; gap:14px; padding:12px 16px; color:#24364a !important; font-size:15px; text-decoration:none !important; }
.acc-side a:hover, .acc-side a.active{ background:color-mix(in srgb, var(--acc) 10%, #fff); color:var(--acc) !important; }
.acc-side i{ font-size:20px; width:22px; text-align:center; }
.acc-heart-ic{ width:20px; height:20px; }
/* client 01.12: the sidebar follows the page on scroll. Flex stretches the float columns to
   the content height so the sticky block has room to travel; 150px clears the sticky header. */
@media (min-width:768px){
  .acc-dash{ display:flex; }
  .account-left-col > div{ position:sticky; top:150px; }
}

@media (max-width:767px){
  .acc-banner{ min-height:170px; margin-bottom:18px; }
  .acc-banner h1{ font-size:32px; }
  .acc-dash .acc-card{ margin-left:0; padding:18px 14px; }
  .acc-card-head{ flex-direction:column; }
  .acc-profile{ flex-direction:column; align-items:flex-start; gap:16px; }
  .acc-avatar{ flex-basis:auto; width:80px; height:80px; font-size:28px; }
  .acc-rows{ width:100%; }
  .acc-grid{ grid-template-columns:1fr; }
  .acc-pref{ grid-template-columns:1fr auto; }
  .acc-pref small{ display:none; }
  .acc-side{ padding:0; margin-top:10px; }
}

/* phones: the Account trigger is icon-only (the tap menu says what it is); "Account" /
   a first name next to the centred logo overlapped it. Overrides header-nav.css ≤991px. */
@media (max-width:767px){
  .abh2-right .abh-acct .abh2-acct-ic{ display:inline-flex !important; }
  .abh2-right .abh-acct .abh-acctlabel, .abh2-acct-caret{ display:none; }
  .abh2-right .abh-acct > a.abh2-acct-link{ padding:0 6px !important; }
  .abh2-right .abh-acct > a.abh2-acct-link .abh2-acct-ic svg{ width:26px; height:26px; }
}

/* ---- forms inside account cards (edit profile, credit card, change password) ---- */
.acc-form label{ font-weight:700; color:#333; font-size:14px; }
.acc-form label.required:after{ content:" *"; }
.acc-form .form-control, .acc-form input[type=text], .acc-form input[type=email], .acc-form input[type=password], .acc-form input[type=tel], .acc-form select{
  width:100%; height:40px; border:1px solid #ccc; padding:6px 10px; box-shadow:none; background:#fff; }
.acc-form .chosen-container{ width:100% !important; }
.acc-form-grid{ display:grid; grid-template-columns:1fr 1fr; column-gap:24px; }
.acc-form-grid > *{ margin-bottom:16px; min-width:0; }
.acc-form--narrow{ max-width:460px; }
.acc-form--narrow > div{ margin-bottom:16px; }
.acc-form-actions{ display:flex; align-items:center; gap:24px; margin-top:8px; padding-top:18px; border-top:1px solid #eef0f3; }
.acc-form-actions .btn{ min-width:180px; height:44px; font-size:15px; }
.acc-form-actions a{ font-size:14px; }
.acc-danger{ color:#b02a2a !important; }
.acc-rows--card{ max-width:560px; margin-bottom:20px; }
@media (max-width:767px){
  .acc-form-grid{ grid-template-columns:1fr; }
  .acc-form-grid > div:empty{ display:none; }
  .acc-form-actions{ flex-direction:column; align-items:stretch; gap:14px; text-align:center; }
}

/* labelled heart under "Show Rooms & Rates" on the hotel page */
.acc-fav.acc-fav--text{ position:static; display:flex; align-items:center; justify-content:center; gap:10px; width:100%; height:44px;
  margin-top:10px; padding:0 16px; border:1px solid #9b1c33; border-radius:0 !important; background:#fff; box-shadow:none;
  color:#9b1c33; font-size:16px; font-weight:700; line-height:1; }
.acc-fav.acc-fav--text:hover{ transform:none; background:#fbf3f4; }
.acc-fav.acc-fav--text svg{ width:22px; height:22px; flex:0 0 22px; }
.acc-fav--text .acc-fav-on, .acc-fav--text.is-saved .acc-fav-off{ display:none; }
.acc-fav--text.is-saved .acc-fav-on{ display:inline; }
/* radio/checkbox options are not field labels: no asterisk, normal weight */
.acc-form .radio label, .acc-form .checkbox label{ font-weight:400; text-transform:capitalize; }
.acc-form .radio label:after, .acc-form .checkbox label:after{ content:none; }

/* card brand icon (Font Awesome fa-cc-*) at the start of each saved card */
.acc-cc-ic{ font-size:34px; width:46px; flex:0 0 46px; text-align:center; color:#5c6670; }
.acc-cc-visa{ color:#1a1f71; }
.acc-cc-mastercard{ color:#eb001b; }
.acc-cc-amex{ color:#2e77bc; }
.acc-cc-discover{ color:#ff6000; }
.acc-cc-diners{ color:#0079be; }
