.app-body {
  background: #0a1628;
  color: #e8edf5;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
}

.app-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.app-nav a:not(.btn) {
  white-space: nowrap;
  font-size: 0.9rem;
  color: #c9d4e8;
  text-decoration: none;
}

.app-nav a:not(.btn):hover {
  color: #d4af37;
}

.nav-link-with-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
}

.nav-badge--lg {
  min-width: 1.55rem;
  height: 1.55rem;
  font-size: 0.78rem;
}

.dash-notifications {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(220, 38, 38, 0.45);
  background: rgba(220, 38, 38, 0.1);
}

.dash-notifications-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.dash-notifications-head h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
}

.dash-notifications-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.dash-notifications-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.dash-notifications-list a:hover {
  color: #d4af37;
}

.dash-notifications-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-card strong {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.status-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .app-header-inner {
    flex-wrap: wrap;
  }

  .app-nav {
    width: 100%;
    justify-content: flex-end;
    gap: 0.5rem 0.75rem;
  }

  .app-nav a:not(.btn) {
    font-size: 0.85rem;
  }

  .app-nav .btn-sm {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

.app-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.app-section h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.app-section.narrow {
  max-width: 560px;
}

.offering-edit-page.narrow {
  max-width: 720px;
}

.app-section.center {
  text-align: center;
}

.lede, .muted {
  color: #9fb0c9;
}

.app-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.app-form input,
.app-form textarea,
.app-form select,
.app-select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
}

.app-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.app-select:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.app-select:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.app-select option {
  background: #0f1f38;
  color: #e8edf5;
}

.app-time,
.app-date,
.app-form input[type="time"],
.app-form input[type="date"] {
  color-scheme: light;
}

.app-time,
.app-date,
.app-form input[type="time"],
.app-form input[type="date"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #eef2f8;
  color: #0f1f38;
  font: inherit;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.app-time:hover,
.app-date:hover,
.app-form input[type="time"]:hover,
.app-form input[type="date"]:hover {
  border-color: rgba(212, 175, 55, 0.65);
  background: #f8fafc;
}

.app-time:focus,
.app-date:focus,
.app-form input[type="time"]:focus,
.app-form input[type="date"]:focus {
  outline: none;
  border-color: #d4af37;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.app-time::-webkit-calendar-picker-indicator,
.app-date::-webkit-calendar-picker-indicator,
.app-form input[type="time"]::-webkit-calendar-picker-indicator,
.app-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
  opacity: 1;
  cursor: pointer;
  padding: 0.15rem;
}

.app-time::-webkit-datetime-edit,
.app-date::-webkit-datetime-edit,
.app-time::-webkit-datetime-edit-fields-wrapper,
.app-date::-webkit-datetime-edit-fields-wrapper {
  color: #0f1f38;
}

.app-time:disabled,
.app-date:disabled,
.app-form input[type="time"]:disabled,
.app-form input[type="date"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #d8dee8;
  color: #5a6a80;
}

.app-select-field {
  display: grid;
  gap: 0.45rem;
}

.app-select-field label {
  font-size: 0.85rem;
  color: #b8c5d9;
}

.app-select-wrap {
  position: relative;
}

.app-select-wrap .app-select {
  padding-right: 2.5rem;
}

.app-select-wrap::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.app-form .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-form .checkbox input {
  width: auto;
}

.form-foot {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.flash-stack {
  max-width: 1100px;
  margin: 0.75rem auto 0;
  padding: 0 1.25rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.flash-success { background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.35); }
.flash-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.35); }
.flash-warning, .flash-warning { background: rgba(212, 175, 55, 0.12); border: 1px solid rgba(212, 175, 55, 0.35); }

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.dash-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.dash-shell {
  max-width: 960px;
}

.dash-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.dash-summary-stat {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dash-summary-stat--warn {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
}

.dash-summary-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9fb0c9;
  margin-bottom: 0.2rem;
}

.dash-summary-stat strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.dash-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #071018;
  background: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.6);
  transition: background 0.15s, transform 0.15s;
}

.dash-pill:hover {
  background: #e8c547;
  color: #071018;
}

.dash-pill--ghost {
  background: transparent;
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.45);
}

.dash-pill--ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #e8c547;
}

.dash-pill--warn {
  background: rgba(212, 175, 55, 0.2);
  color: #fbbf24;
  border-color: rgba(212, 175, 55, 0.5);
}

.dash-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  font-size: 0.68rem;
  background: #071018;
  color: #fff;
}

.dash-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.dash-tab {
  flex: 1;
  min-width: 5.5rem;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #9fb0c9;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.dash-tab:hover {
  color: #e8edf5;
  background: rgba(255, 255, 255, 0.05);
}

.dash-tab.is-active {
  background: rgba(212, 175, 55, 0.18);
  color: #ffc700;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.dash-panel {
  display: none;
  animation: dashPanelIn 0.2s ease;
}

.dash-panel.is-active {
  display: block;
}

@keyframes dashPanelIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.dash-panel-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.dash-panel-head h3,
.dash-block h3 {
  margin: 0;
  font-size: 1rem;
}

.dash-panel-head p {
  margin: 0.25rem 0 0;
  width: 100%;
}

.dash-panel-empty {
  padding: 2rem 1rem;
  text-align: center;
}

.dash-block--spaced {
  margin-top: 1.25rem;
}

.dash-earnings-hero--compact {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
}

.dash-notifications--compact {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}

.dash-notifications--compact .dash-notifications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.dash-notifications--compact .dash-notifications-list li {
  list-style: none;
}

@media (max-width: 640px) {
  .dash-summary-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-tabs {
    flex-wrap: nowrap;
  }
}

.dash-earnings-panel {
  margin: 1.25rem 0 2rem;
  display: grid;
  gap: 1.25rem;
}

.dash-earnings-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.10), rgba(255, 255, 255, 0.02));
}

.dash-earnings-hero-amount {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.15rem;
}

.dash-earnings-hero-meta {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.dash-earnings-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.dash-earnings-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.25rem;
  align-items: start;
}

.dash-earnings-breakdown h2 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.earnings-rows {
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0;
}

.earnings-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.earnings-row:last-child { border-bottom: 0; }

.earnings-row dt {
  margin: 0;
  font-size: 0.9rem;
  color: #9fb0c9;
  font-weight: 500;
}

.earnings-row dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.earnings-row--deduct dd { color: #fbbf24; }
.earnings-row--total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.25rem;
  padding-top: 0.85rem;
}
.earnings-row--total dd { font-size: 1.05rem; }
.earnings-row--highlight dd { color: #d4af37; font-size: 1.05rem; }

.earnings-table-wrap {
  overflow-x: auto;
  margin-top: 0.25rem;
}

.earnings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.earnings-table th,
.earnings-table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.earnings-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9fb0c9;
  font-weight: 600;
}

.earnings-table td.num,
.earnings-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.earnings-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pill-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.pill-warn {
  background: rgba(212, 175, 55, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

@media (max-width: 900px) {
  .dash-earnings-grid {
    grid-template-columns: 1fr;
  }
  .dash-earnings-hero-actions {
    align-items: stretch;
    width: 100%;
  }
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.status-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.status-card.ok { border-color: rgba(34, 197, 94, 0.35); }
.status-card.warn { border-color: rgba(212, 175, 55, 0.35); }

.status-card span { color: #9fb0c9; font-size: 0.9rem; }
.status-card a:not(.dash-pill) { display: inline-block; margin-top: 0.5rem; color: #d4af37; }

.status-card a.dash-pill {
  display: inline-flex;
  margin-top: 0.65rem;
  color: #071018;
  -webkit-text-fill-color: #071018;
  text-decoration: none;
}

.status-card a.dash-pill:hover {
  color: #071018;
  -webkit-text-fill-color: #071018;
}

.status-card a.dash-pill--ghost {
  color: #d4af37;
  -webkit-text-fill-color: #d4af37;
}

.status-card a.dash-pill--ghost:hover {
  color: #e8c547;
  -webkit-text-fill-color: #e8c547;
}

.dash-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dash-block {
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.dash-block h2 {
  margin: 0;
  font-size: 1.1rem;
}

.offering-list { display: grid; gap: 0.75rem; }
.offering-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.offering-row h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.offering-actions { display: flex; gap: 0.75rem; }
.offering-actions a { color: #d4af37; }

.booking-inbox { display: grid; gap: 0.75rem; }
.booking-inbox-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.booking-inbox-row h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.booking-inbox-actions { display: flex; flex-direction: column; gap: 0.65rem; flex-shrink: 0; min-width: 200px; max-width: 260px; }
.booking-decline-form { display: flex; flex-direction: column; gap: 0.4rem; }
.booking-decline-label { font-size: 0.78rem; color: #9fb0c9; }
.booking-decline-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font: inherit;
  resize: vertical;
  min-height: 3.2rem;
}
.booking-decline-form textarea:focus {
  outline: 2px solid rgba(212, 175, 55, 0.45);
  outline-offset: 1px;
}
.booking-decline-note {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid #d4af37;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 10px 10px 0;
  text-align: left;
}
.booking-decline-note-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4af37;
}
.booking-decline-note p:last-child { margin: 0; color: #e8edf5; line-height: 1.6; }
.booking-deadline { color: #d4af37; font-size: 0.85rem; margin-top: 0.5rem; }

.booking-host-edit-float {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1200;
  background: rgba(15, 31, 56, 0.97);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-left: 4px solid #d4af37;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 640px) {
  .booking-host-edit-float {
    left: 0.75rem;
    bottom: 0.75rem;
  }
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.mentor-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mentor-card img, .mentor-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.mentor-placeholder {
  display: grid;
  place-items: center;
  font-size: 3rem;
  background: #132238;
  color: #d4af37;
}

.mentor-card-body { padding: 1rem; }
.mentor-card h2 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.mentor-card h2 a { color: #fff; text-decoration: none; }

.mentor-team-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mentor-team-section h2 {
  margin: 0 0 0.35rem;
}

.section-lede {
  color: #b8c5d9;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.profile-not-booking {
  margin-top: 1.5rem;
  font-style: italic;
}

.mentor-card.bookable {
  border-color: rgba(212, 175, 55, 0.25);
}

.mentor-card.bookable:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.mentor-book-btn {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
}

.badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.badge-gold { background: rgba(212, 175, 55, 0.2); color: #f0d78c; }

.profile-hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.profile-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(212, 175, 55, 0.35);
}

.profile-preview {
  max-width: 120px;
  border-radius: 10px;
}

.book-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  margin-top: 1.5rem;
}

.book-aside {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.05);
}

.book-aside ol { padding-left: 1.2rem; color: #9fb0c9; }

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.connect-card {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Calendar settings page */
.calendar-page {
  max-width: 820px;
}

.page-head {
  margin-bottom: 1.5rem;
}

.page-head .eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
}

.page-head .eyebrow a {
  color: #d4af37;
  text-decoration: none;
}

.page-head .eyebrow a:hover {
  text-decoration: underline;
}

.page-head h1 {
  margin: 0 0 0.35rem;
}

.calendar-active-banner {
  border: 1px solid rgba(76, 175, 80, 0.35);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.75rem;
  background: rgba(76, 175, 80, 0.08);
}

.calendar-active-banner--empty {
  border-color: rgba(255, 138, 138, 0.35);
  background: rgba(255, 138, 138, 0.06);
}

.calendar-active-banner__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a9bb5;
  margin-bottom: 0.45rem;
}

.calendar-active-banner__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.calendar-active-banner__cal {
  font-size: 1.05rem;
  font-weight: 600;
}

.calendar-form {
  display: grid;
  gap: 1.75rem;
}

.calendar-section-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.calendar-section-head .form-hint {
  margin: 0;
}

.provider-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.provider-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.provider-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.provider-option-body {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.provider-option-title {
  font-weight: 600;
}

.provider-option-status {
  font-size: 0.85rem;
  color: #9fb0c9;
}

.provider-option:hover .provider-option-body {
  border-color: rgba(212, 175, 55, 0.35);
}

.provider-option.is-selected .provider-option-body {
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.provider-option.is-unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}

.provider-option.is-unavailable .provider-option-body {
  border-style: dashed;
}

.provider-option--google.is-selected .provider-option-title { color: #8ab4f8; }
.provider-option--microsoft.is-selected .provider-option-title { color: #6cb4ee; }

.calendar-providers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.provider-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.1rem;
  background: rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.provider-panel.is-connected {
  border-color: rgba(255, 255, 255, 0.14);
}

.provider-panel--google.is-connected {
  border-top: 3px solid rgba(66, 133, 244, 0.75);
}

.provider-panel--microsoft.is-connected {
  border-top: 3px solid rgba(0, 120, 212, 0.75);
}

.provider-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.provider-panel-head h3 {
  margin: 0;
  font-size: 1rem;
}

.status-pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-pill--ok {
  background: rgba(76, 175, 80, 0.18);
  color: #7dcea0;
}

.status-pill--warn {
  background: rgba(212, 175, 55, 0.15);
  color: #e6c86e;
}

.calendar-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

@media (max-width: 720px) {
  .provider-picker,
  .calendar-providers-grid {
    grid-template-columns: 1fr;
  }
}

.ok-text { color: #4ade80; }
.warn-text { color: #fbbf24; }

.payout-status {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.payout-status p { margin: 0 0 0.5rem; }
.payout-status p:last-child { margin-bottom: 0; }

.payout-balance {
  margin: 1.25rem 0 0.75rem;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.10), rgba(255, 255, 255, 0.02));
}
.payout-balance-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.payout-balance-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
}
.payout-balance-amount { font-size: 1.9rem; font-weight: 700; }
.payout-balance-meta {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.payout-cashout { margin: 0.5rem 0 1rem; }
.payout-cashout-form { margin: 0; }
.payout-cashout-form .btn { width: 100%; }
.payout-cashout-note {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.payout-cashout-note strong { color: #fff; }

.payout-setup-block { margin-top: 1.5rem; }
.payout-setup-block h2 { margin: 0 0 0.75rem; font-size: 1.1rem; }

.payout-method-picker {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.payout-method-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.payout-method-option:has(input:checked) {
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.08);
}

.payout-method-option input {
  margin-top: 0.2rem;
}

.payout-method-option strong {
  display: block;
  font-size: 0.95rem;
}

.payout-method-option small {
  display: block;
  margin-top: 0.15rem;
  color: #9fb0c9;
  font-size: 0.82rem;
}

.stripe-card-element {
  min-height: 44px;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.payout-instant-note {
  margin: -0.35rem 0 0;
  color: #9fb0c9;
  font-size: 0.82rem;
}

.payout-form-panel[hidden] {
  display: none;
}

.payout-connect-status {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  background: rgba(251, 191, 36, 0.1);
}

.payout-connect-status.is-error {
  border-color: rgba(239, 68, 68, 0.42);
  background: rgba(239, 68, 68, 0.1);
}

.payout-connect-status p {
  margin: 0;
  color: #c9d4e8;
  font-size: 0.9rem;
}

.btn.is-loading {
  cursor: wait;
  opacity: 0.78;
}

.btn-loading-spinner {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.35rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: btn-spinner 0.75s linear infinite;
  vertical-align: -0.12em;
}

@keyframes btn-spinner {
  to {
    transform: rotate(360deg);
  }
}

.payout-bank-saved {
  margin: 0 0 1rem;
  color: #9fb0c9;
  font-size: 0.92rem;
}

.form-message.is-error {
  color: #ff8a8a;
  font-size: 0.88rem;
  margin: 0.35rem 0 0.75rem;
}

.app-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #7a8ea8;
  font-size: 0.85rem;
}

.app-footer a { color: #d4af37; }

.backyard-login {
  display: grid;
  place-items: center;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.stat {
  padding: 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.stat span { display: block; font-size: 1.75rem; font-weight: 700; color: #d4af37; }
.stat label { font-size: 0.8rem; color: #9fb0c9; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.admin-table th, .admin-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.5rem;
  text-align: left;
}

.admin-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.admin-actions button {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.signup-field-wrap {
  display: grid;
  gap: 0;
}

.signup-field-status {
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
  min-height: 1.35em;
}

.signup-field-status.signup-status-ok {
  color: #4ade80;
  font-weight: 500;
}

.signup-field-status.signup-status-error {
  color: #f87171;
}

.signup-field-status.signup-status-checking {
  color: #9fb0c9;
}

.signup-password-requirements {
  list-style: none;
  padding: 0.35rem 0 0;
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: #9fb0c9;
}

.signup-password-requirements .signup-req {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0;
}

.signup-req-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  font-size: 0.9em;
  font-weight: 700;
}

.signup-req.signup-req-met {
  color: #4ade80;
}

.signup-req.signup-req-unmet {
  color: #9fb0c9;
}

#signup-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#signup-submit.is-loading {
  opacity: 0.7;
}

@media (max-width: 720px) {
  .profile-hero { grid-template-columns: 1fr; }
  .book-layout { grid-template-columns: 1fr; }
  .booking-page { grid-template-columns: 1fr; }
  .booking-calendar-times-row { grid-template-columns: 1fr; }
}

/* MeetFast-style booking page */
.booking-page {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 960px;
}

.booking-lead-time-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.booking-lead-time-notice[hidden] {
  display: none !important;
}

.booking-lead-time-notice__text {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #e8edf5;
}

.booking-soonest-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.booking-lead-time-notice__text p {
  margin: 0;
}

.booking-lead-time-notice__text strong {
  color: #d4af37;
  font-weight: 700;
  display: inline-block;
  margin-top: 0.15rem;
}

.booking-page__left .eyebrow {
  margin-bottom: 0.75rem;
}

.booking-host-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(212, 175, 55, 0.35);
}

.booking-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
}

.booking-meta {
  margin: 0 0 0.75rem;
  color: #c9d4e8;
}

.booking-desc {
  margin: 0 0 0.75rem;
  line-height: 1.6;
  color: #9fb0c9;
}

.booking-select-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.booking-loading,
.booking-empty {
  color: #9fb0c9;
  padding: 1rem 0;
}

.booking-calendar-times-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.booking-calendar-wrap {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.booking-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.booking-calendar-month {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.booking-calendar-nav {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #e8edf5;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.booking-calendar-nav:hover {
  border-color: rgba(212, 175, 55, 0.45);
  color: #d4af37;
}

.booking-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  color: #9fb0c9;
  text-transform: uppercase;
}

.booking-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 0.85rem;
  cursor: default;
  background: transparent;
  color: #6b7d96;
}

.cal-day-empty {
  visibility: hidden;
}

.cal-day-available {
  cursor: pointer;
  color: #e8edf5;
  background: rgba(255, 255, 255, 0.04);
}

.cal-day-available:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
}

.cal-day-selected {
  background: #d4af37 !important;
  color: #0a1628 !important;
  font-weight: 700;
}

.cal-day-past,
.cal-day-unavailable {
  opacity: 0.35;
}

.booking-time-panel {
  min-height: 200px;
}

.booking-selected-date {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.booking-timezone-label {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #9fb0c9;
}

.booking-time-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.booking-time-slot {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: #e8edf5;
  font: inherit;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.booking-time-slot:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.booking-time-slot.is-selected {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
}

.booking-form {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-page--submitting {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.booking-checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 16, 24, 0.6);
  backdrop-filter: blur(4px);
}

.booking-checkout-overlay[hidden] {
  display: none !important;
}

.booking-checkout-overlay__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(15, 31, 56, 0.96);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.booking-checkout-overlay__panel p {
  margin: 0;
  color: #e8edf5;
  font-weight: 600;
}

.booking-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: #d4af37;
  border-radius: 50%;
  animation: booking-spin 0.75s linear infinite;
}

@keyframes booking-spin {
  to { transform: rotate(360deg); }
}

.auth-divider {
  text-align: center;
  margin: 1rem 0;
  color: #8a9bb5;
  font-size: 0.9rem;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-oauth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #e8edf5;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-oauth-icon {
  flex-shrink: 0;
}

.btn-oauth:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
}

.btn-microsoft:hover {
  border-color: #0078d4;
}

.calendar-status-card--compact {
  padding: 0.95rem 1rem;
}

.calendar-status-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.calendar-status-card__head h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.calendar-status-card__scope {
  margin: 0;
  font-size: 0.82rem;
}

.calendar-status-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.calendar-status-summary__cal {
  font-weight: 600;
}

.calendar-status-summary__tz {
  font-size: 0.85rem;
}

.calendar-status-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
  background: rgba(0, 0, 0, 0.15);
}

.calendar-status-card.is-connected {
  border-color: rgba(76, 175, 80, 0.35);
}

.calendar-status-card.is-missing {
  border-color: rgba(255, 138, 138, 0.35);
}

.calendar-status-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.calendar-status-provider {
  margin: 0 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.calendar-provider-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.calendar-provider-badge--google {
  background: rgba(66, 133, 244, 0.18);
  color: #8ab4f8;
}

.calendar-provider-badge--microsoft {
  background: rgba(0, 120, 212, 0.18);
  color: #6cb4ee;
}

.calendar-status-details {
  margin: 0 0 0.75rem;
  display: grid;
  gap: 0.65rem;
}

.calendar-status-details dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a9bb5;
  margin-bottom: 0.15rem;
}

.calendar-status-details dd {
  margin: 0;
}

.calendar-checked-list {
  margin: 0;
  padding-left: 1.1rem;
}

.calendar-checked-list li {
  margin-bottom: 0.2rem;
}

.calendar-status-note {
  font-size: 0.85rem;
}

.availability-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.1rem;
  margin: 0;
}

.form-section {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.form-section legend,
.availability-legend {
  padding: 0;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.availability-fieldset-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.availability-fieldset-head .form-hint {
  margin: 0.25rem 0 0;
}

.availability-grid {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.availability-grid-header {
  display: grid;
  grid-template-columns: 7rem 3.5rem 1fr 1.5rem 1fr;
  gap: 0.5rem;
  padding: 0 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a9bb5;
}

.availability-row {
  display: grid;
  grid-template-columns: 7rem 3.5rem 1fr 1.5rem 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
  transition: opacity 0.2s, border-color 0.2s;
}

.availability-row.is-disabled {
  opacity: 0.55;
}

.availability-day-label {
  font-weight: 500;
  font-size: 0.92rem;
}

.availability-to {
  text-align: center;
  color: #8a9bb5;
  font-size: 0.85rem;
}

.availability-toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.availability-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.availability-toggle-ui {
  width: 2.5rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.availability-toggle-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #c9d4e8;
  transition: transform 0.2s, background 0.2s;
}

.availability-toggle input:checked + .availability-toggle-ui {
  background: rgba(212, 175, 55, 0.35);
  border-color: rgba(212, 175, 55, 0.55);
}

.availability-toggle input:checked + .availability-toggle-ui::after {
  transform: translateX(1.1rem);
  background: #fff;
}

.availability-time-field {
  min-width: 0;
}

.availability-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.schedule-type-picker {
  display: grid;
  gap: 0.55rem;
}

.schedule-option {
  display: block;
  cursor: pointer;
}

.schedule-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.schedule-option-body {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}

.schedule-option-title {
  font-weight: 600;
}

.schedule-option-desc {
  font-size: 0.85rem;
  color: #9fb0c9;
}

.schedule-option:hover .schedule-option-body {
  border-color: rgba(212, 175, 55, 0.35);
}

.schedule-option.is-selected .schedule-option-body {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.08);
}

.schedule-panel {
  padding: 0.25rem 0 0;
}

.blackout-dates-wrap {
  display: grid;
  gap: 0.35rem;
}

.blackout-label-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.blackout-dates-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.blackout-calendar {
  margin-top: 0.25rem;
  max-width: 22rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem;
}

.blackout-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.blackout-month-btn {
  min-width: 2rem;
  padding: 0.35rem 0.5rem;
  font-size: 1.1rem;
  line-height: 1;
}

.blackout-month-label {
  font-size: 0.95rem;
  font-weight: 600;
}

.blackout-weekdays {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.blackout-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a9bb5;
}

.blackout-calendar-grid {
  margin-top: 0.35rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.blackout-day-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  height: 2.1rem;
  font-size: 0.85rem;
  color: #e8edf5;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.blackout-day-btn:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.1);
}

.blackout-day-btn.is-selected {
  border-color: #d4af37;
  background: #d4af37;
  color: #0a1628;
  font-weight: 600;
}

.blackout-day-btn.is-outside {
  opacity: 0.4;
}

.blackout-selected {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.blackout-selected-summary {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 10rem;
}

.blackout-selected-count {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e8edf5;
}

.blackout-selected-preview {
  font-size: 0.85rem;
  color: #b8c5d9;
  line-height: 1.4;
}

.blackout-selected-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}

.blackout-dates-dialog {
  border: none;
  padding: 0;
  max-width: calc(100vw - 2rem);
  width: 22rem;
  background: transparent;
  color: #e8edf5;
}

.blackout-dates-dialog::backdrop {
  background: rgba(5, 12, 24, 0.72);
  backdrop-filter: blur(4px);
}

.blackout-dates-dialog-inner {
  background: #0f1f38;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.blackout-dates-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.blackout-dates-dialog-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.blackout-dialog-close {
  border: none;
  background: transparent;
  color: #b8c5d9;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

.blackout-dialog-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.blackout-dialog-sub {
  margin: 0 0 0.65rem;
}

.blackout-dates-dialog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(50vh, 18rem);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
}

.blackout-dates-dialog-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.blackout-dates-dialog-item:last-child {
  border-bottom: none;
}

.blackout-date-remove {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(255, 138, 138, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #ff9a9a;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.blackout-date-remove:hover {
  background: rgba(255, 138, 138, 0.15);
  border-color: rgba(255, 138, 138, 0.55);
}

.blackout-dates-dialog-empty {
  padding: 1rem 0.75rem;
  color: #8a9bb5;
  font-size: 0.9rem;
}

.blackout-dates-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.offering-save-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 31, 56, 0.97);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-left: 4px solid #d4af37;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.offering-save-float[hidden] {
  display: none !important;
}

.offering-save-float-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f0e6c8;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .offering-save-float {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    justify-content: space-between;
  }

  .offering-save-float-text {
    white-space: normal;
    line-height: 1.3;
  }
}

.blackout-selected-label {
  margin: 0;
}

.blackout-selected-list {
  flex: 1 1 8rem;
  font-size: 0.82rem;
  color: #b8c5d9;
  min-height: 1.2em;
}

.blackout-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e8edf5;
  font: inherit;
  resize: vertical;
  min-height: 4.5rem;
}

.blackout-label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.form-hint {
  color: #8a9bb5;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.form-error {
  color: #ff8a8a;
  margin: 0 0 1rem;
}

.form-foot.muted {
  color: #8a9bb5;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .form-row-two {
    grid-template-columns: 1fr;
  }

  .availability-grid-header {
    display: none;
  }

  .availability-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "day day"
      "toggle toggle"
      "start end";
    gap: 0.45rem;
  }

  .availability-day-label { grid-area: day; }
  .availability-toggle { grid-area: toggle; }
  .availability-time-field:first-of-type { grid-area: start; }
  .availability-time-field:last-of-type { grid-area: end; }
  .availability-to { display: none; }
}

