/* ARABIDS 1.2.93 — restrained identity refinement.
   Official palette: green #143328; maroon #420B07; gold #A4865D; ivory #EFE6D8.
   Keep the original page composition, forms, links and calendar interactions. */

/* Authentication navigation should match the regular site's warm, compact menu. */
html body .arabids-auth-global-nav {
  border-bottom: 1px solid #e7dfd2 !important;
  background: #fdfbf8 !important;
  box-shadow: 0 5px 21px rgba(20,51,40,.045) !important;
}
html body .arabids-auth-global-inner { width: min(1400px,calc(100% - 44px)); gap: 12px; }
html body .arabids-auth-global-logo img { width: 167px; max-height: 49px; }
html body .arabids-auth-global-desktop { gap: 0; }
html body .arabids-auth-global-desktop a {
  position: relative;
  padding: 10px 9px;
  background: transparent !important;
  border-radius: 9px;
  font-size: 13px !important;
}
html body .arabids-auth-global-desktop a::after {
  content: "";
  display: block;
  position: absolute;
  right: 20%;
  left: 20%;
  bottom: 1px;
  height: 2px;
  border-radius: 3px;
  background: #a4865d;
  transform: scaleX(0);
  transition: transform .18s;
}
html body .arabids-auth-global-desktop a:hover::after,
html body .arabids-auth-global-desktop a:focus-visible::after { transform: scaleX(1); }

/* Login & registration: a substantial branded panel while retaining a light page. */
html body:is([data-page="login"],[data-page="register"]) .entry-auth-wrap {
  background: radial-gradient(circle at 100% 5%,rgba(164,134,93,.11),transparent 28%),
    radial-gradient(circle at 2% 95%,rgba(20,51,40,.08),transparent 32%),#faf7f2 !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-shell {
  position: relative !important;
  max-width: 1090px !important;
  border: 1px solid #d9c8b0 !important;
  border-radius: 27px !important;
  background: #fffdf9 !important;
  box-shadow: 0 27px 70px rgba(20,51,40,.12) !important;
  overflow: hidden !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg,#143328,#a4865d 54%,#420b07);
  z-index: 5;
  pointer-events: none;
}
html body:is([data-page="login"],[data-page="register"]) .entry-side {
  background: radial-gradient(circle at 6% 10%,rgba(255,255,255,.10),transparent 42%),
    linear-gradient(150deg,#143328 0%,#1d4837 67%,#244d3c 100%) !important;
  border-inline-end: 1px solid rgba(164,134,93,.37) !important;
  color: #fff !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-side::after {
  border: 1px solid rgba(239,230,216,.16) !important;
  background: rgba(239,230,216,.055) !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-side-label {
  color: #A4865D !important;
  letter-spacing: .01em;
}
html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-side-label::before {
  background: #A4865D !important;
  box-shadow: 0 0 0 5px rgba(164,134,93,.15) !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-side h2 { color: #fff9ef !important; font-size: clamp(24px,2.3vw,30px) !important; }
html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-illustration-ring { border-color: rgba(239,230,216,.22) !important; }
html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-mail-icon {
  background: #fff9ef !important;
  color: #420b07 !important;
  box-shadow: 0 16px 35px rgba(0,0,0,.14) !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-benefits { gap: 10px !important; }
html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-benefit {
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(239,230,216,.13);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  color: #eff0e8 !important;
  line-height: 1.6 !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-check {
  color: #143328 !important;
  background: #A4865D !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card {
  background: linear-gradient(165deg,#fffdfa,#fff 75%) !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card .recovery-kicker {
  background: #f1e6d6 !important;
  color: #420b07 !important;
  border: 1px solid #e6d5bd !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card h1 { color: #143328 !important; }
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card .recovery-input-shell {
  background: #fbf7f0 !important;
  border-radius: 13px !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card .recovery-form .input {
  background: #fbf8f3 !important;
  border-color: #dcd0be !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card .recovery-form .input:focus {
  background: #fff !important;
  border-color: #a4865d !important;
  box-shadow: 0 0 0 4px rgba(164,134,93,.17) !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card .recovery-submit {
  background: #420b07 !important;
  border-color: #420b07 !important;
  box-shadow: 0 13px 25px rgba(66,11,7,.17) !important;
}
html body:is([data-page="login"],[data-page="register"]) .entry-auth-card .recovery-submit:hover {
  background: #143328 !important;
  border-color: #143328 !important;
}

/* Calendar: clearly differentiated controls and event states in native colors. */
html body.calendar-page .calendar-page-hero {
  background: linear-gradient(170deg,#fcfaf6,#f3ecdf) !important;
  border-bottom-color: #e2d5c1 !important;
}
html body.calendar-page .calendar-hero-inner {
  position: relative;
  border: 1px solid #ded0bd !important;
  border-radius: 26px !important;
  background: linear-gradient(115deg,#fffdf8,#f1e6d6) !important;
  box-shadow: 0 18px 48px rgba(20,51,40,.075) !important;
}
html body.calendar-page .calendar-hero-inner::before {
  background: linear-gradient(90deg,#143328,#a4865d,#420b07) !important;
}
html body.calendar-page .calendar-hero-copy h1 { color: #143328 !important; font-weight: 700 !important; }
html body.calendar-page .calendar-hero-copy .eyebrow { color: #420b07 !important; }
html body.calendar-page .calendar-hero-stats > div {
  position: relative;
  background: #fffdf9 !important;
  border-color: #ded0ba !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 22px rgba(20,51,40,.06) !important;
  overflow: hidden;
}
html body.calendar-page .calendar-hero-stats > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #a4865d;
}
html body.calendar-page .calendar-hero-stats > div:nth-child(2)::before { background: #143328; }
html body.calendar-page .calendar-hero-stats > div:nth-child(3)::before { background: #420b07; }
html body.calendar-page .calendar-workspace-section { background: #f8f4ed !important; }
html body.calendar-page :is(.calendar-side-card,.professional-calendar-card) {
  border: 1px solid #e3d7c8 !important;
  box-shadow: 0 11px 33px rgba(20,51,40,.065) !important;
}
html body.calendar-page .calendar-side-heading h2 { color: #143328 !important; font-weight: 700 !important; }
html body.calendar-page .calendar-side-eyebrow { color: #420b07 !important; }
html body.calendar-page .calendar-overview-list > div {
  background: #fcfaf5 !important;
  border-color: #e8dece !important;
}
html body.calendar-page .calendar-side-icon,
html body.calendar-page .agenda-count,
html body.calendar-page .calendar-empty-selection > span {
  background: #efe2cf !important;
  color: #420b07 !important;
}
html body.calendar-page .professional-calendar-toolbar {
  background: linear-gradient(120deg,#143328,#204c39) !important;
  border-bottom-color: #a4865d !important;
}
html body.calendar-page .calendar-title { color: #fffaf1 !important; font-weight: 700 !important; }
html body.calendar-page .calendar-month-heading small { color: #dbc6a4 !important; }
html body.calendar-page .calendar-today-button,
html body.calendar-page .calendar-nav-button {
  background: #fff9f0 !important;
  border-color: #dac5a4 !important;
  color: #143328 !important;
}
html body.calendar-page .calendar-today-button:hover,
html body.calendar-page .calendar-nav-button:hover { background: #a4865d !important; color: #fff !important; }
html body.calendar-page .calendar-legend-row { background: #fbf6ed !important; color: #465a50 !important; border-bottom-color: #e4d8c8 !important; }
html body.calendar-page .professional-calendar-grid { background: #e7dac8 !important; }
html body.calendar-page .professional-calendar-grid .weekday { background: #f3e9d9 !important; color: #143328 !important; }
html body.calendar-page .professional-calendar-grid .day.other { background: #fbf9f4 !important; }
html body.calendar-page .professional-calendar-grid .day.today { background: #f5ecdd !important; }
html body.calendar-page .professional-calendar-grid .day.today .day-number { background: #420b07 !important; color: #fff !important; }
html body.calendar-page .professional-calendar-grid .cal-event.live { background: #eaf3ed !important; color: #143328 !important; border-right-color: #143328 !important; }
html body.calendar-page .professional-calendar-grid .cal-event.upcoming { background: #f3e9d9 !important; color: #594123 !important; border-right-color: #a4865d !important; border-color: #e4d4bc !important; }
html body.calendar-page .professional-calendar-grid .cal-event.booked { border-left-color: #420b07 !important; }
html body.calendar-page .professional-calendar-grid .cal-event.is-selected { outline-color: #420b07 !important; }
html body.calendar-page :is(.live-dot,.upcoming-dot,.booked-dot) { background: #143328; }
html body.calendar-page .upcoming-dot { background: #a4865d; }
html body.calendar-page .booked-dot { background: #420b07; }
html body.calendar-page .professional-calendar-grid .cal-more,
html body.calendar-page .calendar-mini-action,
html body.calendar-page .agenda-view-button { color: #420b07 !important; }

/* Auction discovery: make the title and search easier to scan, without
   changing filters, auction cards, event handlers or page sections. */
html body[data-page="auctions"] .auctions-premium-section { padding-top: 28px !important; }
html body[data-page="auctions"] .auctions-hero-card { min-height: 250px !important; }
html body[data-page="auctions"] .auctions-hero-copy h1 { font-size: clamp(34px,3.5vw,51px) !important; }
html body[data-page="auctions"] :is(.auctions-filter-card,.auctions-results-card) {
  border-color: #e1d4c1 !important;
  box-shadow: 0 13px 31px rgba(20,51,40,.065) !important;
}
html body[data-page="auctions"] .auctions-filter-card { background: #fffdfa !important; }
html body[data-page="auctions"] .auctions-filter-heading h2,
html body[data-page="auctions"] .auctions-results-head h2 { color: #143328 !important; }
html body[data-page="auctions"] .auctions-card-kicker { color: #420b07 !important; }
html body[data-page="auctions"] .auctions-control-shell { border-color: #ddceba !important; background: #fbf8f3 !important; }
html body[data-page="auctions"] .auctions-control-shell:focus-within { border-color: #a4865d !important; box-shadow: 0 0 0 3px rgba(164,134,93,.15) !important; }
html body[data-page="auctions"] .auctions-result-count { color: #143328 !important; }

/* Deletion page: tighten top whitespace, keep trust messaging and secure form. */
html body[data-page="delete-account"] .deletion-premium-section { padding-top: 24px !important; }
html body[data-page="delete-account"] .deletion-hero-card { min-height: 207px !important; }
html body[data-page="delete-account"] .deletion-premium-grid { margin-top: 18px !important; }
html body[data-page="delete-account"] .deletion-legal-card { margin-top: 17px !important; }

@media (max-width: 1150px) {
  html body .arabids-auth-global-desktop { display: none !important; }
}
@media (max-width: 760px) {
  html body:is([data-page="login"],[data-page="register"]) .entry-shell { border-radius: 21px !important; }
  html body:is([data-page="login"],[data-page="register"]) .entry-side { padding: 24px 22px !important; }
  html body:is([data-page="login"],[data-page="register"]) .entry-side .recovery-benefit { padding: 9px 10px; }
  html body.calendar-page .calendar-hero-inner { border-radius: 21px !important; }
  html body.calendar-page .calendar-hero-stats > div { border-radius: 12px !important; }
  html body.calendar-page .professional-calendar-toolbar { padding: 18px !important; }
  html body[data-page="auctions"] .auctions-premium-section { padding-top: 20px !important; }
  html body[data-page="delete-account"] .deletion-premium-section { padding-top: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body .arabids-auth-global-desktop a::after { transition: none; }
}
