/* ============================================================
   Bid2Stay Release 12.8.3.5
   Global Public Header, Logo and Contact UI/UX
   ============================================================ */

:root{
  --b2s-public-black:#05080d;
  --b2s-public-navy:#071421;
  --b2s-public-gold:#f5ad16;
  --b2s-public-gold-light:#ffd05b;
  --b2s-public-white:#ffffff;
  --b2s-public-text:#101828;
  --b2s-public-muted:#667085;
  --b2s-public-border:#d9e0e8;
}

body.b2s-global-public{
  margin:0;
  overflow-x:hidden;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.b2s-global-public *,
body.b2s-global-public *::before,
body.b2s-global-public *::after{
  box-sizing:border-box;
}

/* ---------- Shared public header ---------- */

.b2s-global-header{
  position:relative;
  z-index:1000;
  width:100%;
  min-height:78px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(5,8,13,.97);
  color:#fff;
}

.b2s-global-header-inner{
  width:min(1440px,calc(100% - 42px));
  min-height:78px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}

.b2s-global-brand{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  text-decoration:none!important;
}

.b2s-global-brand img{
  display:block!important;
  width:188px!important;
  min-width:188px!important;
  max-width:188px!important;
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  object-fit:contain!important;
  object-position:left center!important;
  background:transparent!important;
}

.b2s-global-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  margin-left:auto;
}

.b2s-global-nav a{
  position:relative;
  color:#e8edf4!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap;
}

.b2s-global-nav a:hover,
.b2s-global-nav a:focus-visible,
.b2s-global-nav a[aria-current="page"]{
  color:var(--b2s-public-gold)!important;
}

.b2s-global-nav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-12px;
  height:2px;
  border-radius:99px;
  background:var(--b2s-public-gold);
}

.b2s-global-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.b2s-global-actions a{
  min-height:44px;
  padding:0 20px;
  border-radius:9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap;
}

.b2s-global-actions .b2s-global-login{
  border:1px solid rgba(245,173,22,.65);
  color:#fff!important;
  background:rgba(255,255,255,.02);
}

.b2s-global-actions .b2s-global-signup{
  border:1px solid var(--b2s-public-gold);
  color:#07101b!important;
  background:linear-gradient(180deg,var(--b2s-public-gold-light),var(--b2s-public-gold));
  box-shadow:0 12px 26px rgba(245,173,22,.18);
}

.b2s-global-menu{
  display:none;
  width:44px;
  height:42px;
  padding:0;
  border:1px solid rgba(245,173,22,.58);
  border-radius:9px;
  background:transparent;
  color:#fff;
  font-size:21px;
  font-weight:900;
  cursor:pointer;
}

/* Neutralize legacy oversized public logos and headers. */
body.b2s-global-public > header:not(.b2s-global-header){
  display:none!important;
}

body.b2s-global-public img[src$="bid2stay-logo.jpg"]:not(.b2s-global-brand img){
  max-width:100%;
}

/* ---------- Shared public form visibility ---------- */

body.b2s-global-public .b2s-auth-card input,
body.b2s-global-public .b2s-auth-card select,
body.b2s-global-public .b2s-auth-card textarea{
  background:#f8fafc!important;
  color:#111827!important;
  -webkit-text-fill-color:#111827!important;
  caret-color:#111827!important;
  border-color:#cbd5e1!important;
  opacity:1!important;
}

body.b2s-global-public .b2s-auth-card input::placeholder,
body.b2s-global-public .b2s-auth-card textarea::placeholder{
  color:#64748b!important;
  -webkit-text-fill-color:#64748b!important;
  opacity:1!important;
}

body.b2s-global-public .b2s-auth-card select option{
  background:#fff!important;
  color:#111827!important;
}

body.b2s-global-public .b2s-auth-card input:focus,
body.b2s-global-public .b2s-auth-card select:focus,
body.b2s-global-public .b2s-auth-card textarea:focus{
  border-color:var(--b2s-public-gold)!important;
  background:#fff!important;
  box-shadow:0 0 0 3px rgba(245,173,22,.16)!important;
  outline:0!important;
}

body.b2s-global-public input:-webkit-autofill,
body.b2s-global-public input:-webkit-autofill:hover,
body.b2s-global-public input:-webkit-autofill:focus{
  -webkit-text-fill-color:#111827!important;
  box-shadow:0 0 0 1000px #f8fafc inset!important;
  transition:background-color 9999s ease-out 0s!important;
  caret-color:#111827!important;
}

.b2s-global-password-wrap{
  position:relative;
}

.b2s-global-password-wrap input{
  padding-right:88px!important;
}

.b2s-global-password-toggle{
  position:absolute;
  right:9px;
  top:50%;
  transform:translateY(-50%);
  min-width:62px;
  min-height:35px;
  padding:0 11px;
  border:1px solid #d1d5db;
  border-radius:8px;
  background:#111827;
  color:#fff;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
  z-index:5;
}

/* ---------- Contact page ---------- */

body.b2s-contact-page{
  min-height:100vh;
  background:
    radial-gradient(circle at 17% 24%,rgba(245,173,22,.13),transparent 31%),
    radial-gradient(circle at 85% 75%,rgba(25,82,140,.20),transparent 34%),
    linear-gradient(135deg,#03080e 0%,#071421 58%,#091a2b 100%);
  color:#fff;
}

.b2s-contact-shell{
  width:min(1180px,calc(100% - 40px));
  min-height:calc(100vh - 78px);
  margin:0 auto;
  padding:58px 0 68px;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(480px,1.08fr);
  align-items:center;
  gap:70px;
}

.b2s-contact-intro{
  max-width:525px;
}

.b2s-contact-eyebrow{
  margin:0 0 15px;
  color:var(--b2s-public-gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.b2s-contact-intro h1{
  margin:0;
  max-width:520px;
  color:#fff;
  font-size:clamp(45px,5.4vw,68px);
  line-height:1.01;
  letter-spacing:-.05em;
}

.b2s-contact-intro h1 span{
  color:var(--b2s-public-gold);
}

.b2s-contact-intro>p{
  max-width:515px;
  margin:22px 0 0;
  color:#b9c5d4;
  font-size:17px;
  line-height:1.68;
}

.b2s-contact-options{
  margin:30px 0 0;
  padding:0;
  display:grid;
  gap:13px;
  list-style:none;
}

.b2s-contact-options li{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:12px;
  align-items:start;
  color:#e8edf4;
}

.b2s-contact-options strong{
  display:block;
  font-size:14px;
}

.b2s-contact-options span{
  display:block;
  margin-top:3px;
  color:#91a0b0;
  font-size:13px;
  line-height:1.5;
}

.b2s-contact-option-icon{
  width:32px;
  height:32px;
  border:1px solid rgba(245,173,22,.42);
  border-radius:9px;
  display:grid;
  place-items:center;
  color:var(--b2s-public-gold);
  background:rgba(245,173,22,.07);
  font-weight:900;
}

.b2s-contact-card{
  width:100%;
  margin:0;
  padding:32px;
  border:1px solid rgba(245,173,22,.34);
  border-radius:20px;
  background:rgba(6,17,30,.96);
  box-shadow:
    0 30px 90px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.b2s-contact-card-header{
  margin-bottom:24px;
}

.b2s-contact-card h2{
  margin:0;
  color:#fff;
  font-size:31px;
  line-height:1.15;
  letter-spacing:-.035em;
}

.b2s-contact-card-header p{
  margin:9px 0 0;
  color:#aeb8c6;
  font-size:14px;
  line-height:1.55;
}

.b2s-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.b2s-contact-field{
  min-width:0;
}

.b2s-contact-field.full{
  grid-column:1 / -1;
}

.b2s-contact-field label{
  display:block;
  margin:0 0 7px;
  color:#d7dde7;
  font-size:11px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.b2s-contact-field input,
.b2s-contact-field select,
.b2s-contact-field textarea{
  width:100%;
  border:1px solid #cbd5e1;
  border-radius:10px;
  outline:0;
  background:#f8fafc;
  color:#111827;
  -webkit-text-fill-color:#111827;
  caret-color:#111827;
  font:inherit;
}

.b2s-contact-field input,
.b2s-contact-field select{
  min-height:52px;
  padding:0 14px;
}

.b2s-contact-field textarea{
  min-height:148px;
  padding:13px 14px;
  resize:vertical;
}

.b2s-contact-field input::placeholder,
.b2s-contact-field textarea::placeholder{
  color:#64748b;
  -webkit-text-fill-color:#64748b;
  opacity:1;
}

.b2s-contact-field input:focus,
.b2s-contact-field select:focus,
.b2s-contact-field textarea:focus{
  border-color:var(--b2s-public-gold);
  background:#fff;
  box-shadow:0 0 0 3px rgba(245,173,22,.17);
}

.b2s-contact-submit{
  grid-column:1 / -1;
  min-height:55px;
  border:0;
  border-radius:10px;
  background:linear-gradient(180deg,var(--b2s-public-gold-light),var(--b2s-public-gold));
  color:#07101b;
  font-size:14px;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 15px 30px rgba(245,173,22,.20);
}

.b2s-contact-note{
  margin:18px 0 0;
  color:#8390a0;
  font-size:11px;
  line-height:1.55;
  text-align:center;
}

/* ---------- Responsive ---------- */

@media(max-width:1050px){
  .b2s-global-nav{
    gap:15px;
  }

  .b2s-contact-shell{
    grid-template-columns:minmax(0,.85fr) minmax(450px,1.15fr);
    gap:42px;
  }
}

@media(max-width:900px){
  .b2s-global-menu{
    display:grid;
    place-items:center;
  }

  .b2s-global-nav{
    position:absolute;
    top:78px;
    left:0;
    right:0;
    display:none;
    margin:0;
    padding:17px 21px 21px;
    align-items:flex-start;
    flex-direction:column;
    gap:0;
    border-top:1px solid rgba(255,255,255,.08);
    background:#05080d;
    box-shadow:0 20px 35px rgba(0,0,0,.25);
  }

  .b2s-global-nav[data-open="true"]{
    display:flex;
  }

  .b2s-global-nav a{
    width:100%;
    padding:13px 0;
  }

  .b2s-global-nav a[aria-current="page"]::after{
    display:none;
  }

  .b2s-global-actions{
    margin-left:auto;
  }

  .b2s-contact-shell{
    width:min(720px,calc(100% - 30px));
    min-height:auto;
    padding-top:43px;
    grid-template-columns:1fr;
    gap:34px;
  }

  .b2s-contact-intro{
    max-width:650px;
    margin:0 auto;
    text-align:center;
  }

  .b2s-contact-intro h1,
  .b2s-contact-intro>p{
    margin-left:auto;
    margin-right:auto;
  }

  .b2s-contact-options{
    width:max-content;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
    text-align:left;
  }
}

@media(max-width:640px){
  .b2s-global-header,
  .b2s-global-header-inner{
    min-height:70px;
  }

  .b2s-global-header-inner{
    width:calc(100% - 24px);
    gap:9px;
  }

  .b2s-global-brand img{
    width:150px!important;
    min-width:150px!important;
    max-width:150px!important;
    height:43px!important;
    min-height:43px!important;
    max-height:43px!important;
  }

  .b2s-global-nav{
    top:70px;
  }

  .b2s-global-actions .b2s-global-login{
    display:none;
  }

  .b2s-global-actions a{
    min-height:40px;
    padding:0 13px;
    font-size:12px!important;
  }

  .b2s-contact-shell{
    width:calc(100% - 24px);
    min-height:calc(100vh - 70px);
    padding:34px 0 50px;
  }

  .b2s-contact-intro h1{
    font-size:40px;
  }

  .b2s-contact-intro>p{
    font-size:15px;
  }

  .b2s-contact-card{
    padding:25px 20px;
    border-radius:16px;
  }

  .b2s-contact-card h2{
    font-size:27px;
  }

  .b2s-contact-grid{
    grid-template-columns:1fr;
  }

  .b2s-contact-field.full,
  .b2s-contact-submit{
    grid-column:auto;
  }
}
