:root {
  --vvb-gold: #b99348;
  --vvb-gold-soft: #d8bf7a;
  --vvb-charcoal: #4b4339;
  --vvb-cream: #faf8f1;
  --vvb-border: #e9e1cf;
  --vvb-gray: #777;
}
.vvb-booking-wrap, .vvb-booking-wrap * { box-sizing: border-box; }
.vvb-booking-wrap {
  max-width: 980px;
  margin: 30px auto;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--vvb-charcoal);
}
.vvb-brand-card {
  text-align: center;
  padding: 34px 24px;
  border: 1px solid var(--vvb-border);
  background: linear-gradient(180deg, #fff, var(--vvb-cream));
  box-shadow: 0 18px 45px rgba(50, 42, 29, .08);
}
.vvb-eyebrow {
  color: var(--vvb-gold);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}
.vvb-brand-card h2 {
  margin: 0 0 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(32px, 4vw, 54px);
  font-style: italic;
  font-weight: 400;
  color: var(--vvb-gold);
}
.vvb-brand-card p { max-width: 700px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
.vvb-booking-form {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--vvb-border);
  border-top: 0;
}
.vvb-grid { display: grid; gap: 18px; }
.vvb-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vvb-field { margin-bottom: 18px; }
.vvb-field label, .vvb-admin-form label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--vvb-charcoal); }
.vvb-field input, .vvb-field select, .vvb-field textarea,
.vvb-admin-form input, .vvb-admin-form select, .vvb-admin-form textarea {
  width: 100%;
  border: 1px solid var(--vvb-border);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 15px;
  background: #fff;
  color: var(--vvb-charcoal);
  box-shadow: none;
}
.vvb-field input:focus, .vvb-field select:focus, .vvb-field textarea:focus,
.vvb-admin-form input:focus, .vvb-admin-form select:focus, .vvb-admin-form textarea:focus {
  outline: none;
  border-color: var(--vvb-gold);
  box-shadow: 0 0 0 3px rgba(185,147,72,.16);
}
.vvb-slots { display: flex; flex-wrap: wrap; gap: 10px; min-height: 48px; align-items: center; }
.vvb-slot {
  border: 1px solid var(--vvb-gold);
  background: #fff;
  color: var(--vvb-gold);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.vvb-slot:hover, .vvb-slot.is-selected { background: var(--vvb-gold); color: #fff; }
.vvb-slot-disabled { border-color: #ddd; color: #aaa; background: #f8f8f8; cursor: not-allowed; }
.vvb-checkbox { margin: 12px 0; line-height: 1.5; }
.vvb-checkbox input { margin-right: 8px; }
.vvb-payment-box {
  margin-top: 22px;
  padding: 20px;
  background: var(--vvb-cream);
  border: 1px solid var(--vvb-border);
  border-radius: 14px;
}
.vvb-deposit-line { font-size: 18px; margin-bottom: 14px; }
.vvb-deposit-line strong { color: var(--vvb-gold); }
.vvb-button, .vvb-booking-form button[type="submit"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--vvb-gold);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(185,147,72,.22);
}
.vvb-button:hover, .vvb-booking-form button[type="submit"]:hover { background: #a98034; color: #fff; }
.vvb-button:disabled { opacity: .6; cursor: not-allowed; }
.vvb-muted { color: var(--vvb-gray); font-size: 14px; }
.vvb-message { display: none; padding: 14px 16px; border-radius: 10px; margin-top: 18px; }
.vvb-success { display: block; border: 1px solid #b7dfc2; background: #f1fff4; color: #236234; }
.vvb-error { display: block; border: 1px solid #f0b3b3; background: #fff5f5; color: #8a1f1f; }
.vvb-paypal-buttons { max-width: 420px; }
.vvb-admin-wrap h1, .vvb-admin-wrap h2 { color: var(--vvb-charcoal); }
.vvb-admin-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.vvb-admin-card { background: #fff; border: 1px solid var(--vvb-border); border-radius: 14px; padding: 22px; box-shadow: 0 10px 24px rgba(50,42,29,.06); }
.vvb-admin-card strong { display: block; font-size: 34px; color: var(--vvb-gold); }
.vvb-admin-card span { color: var(--vvb-gray); }
.vvb-admin-two-col { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.vvb-admin-form { background: #fff; border: 1px solid var(--vvb-border); padding: 20px; border-radius: 12px; max-width: 960px; }
.vvb-admin-form label { margin: 0 0 16px; }
.vvb-admin-form small { display: block; color: var(--vvb-gray); margin-top: 4px; }
.vvb-inline { display: inline-flex !important; align-items: center; gap: 6px; margin-right: 14px !important; font-weight: 400 !important; }
.vvb-inline input { width: auto !important; }
.vvb-settings-form h2 { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--vvb-border); }
@media (max-width: 760px) {
  .vvb-grid-2, .vvb-admin-cards, .vvb-admin-two-col { grid-template-columns: 1fr; }
  .vvb-booking-form { padding: 18px; }
  .vvb-brand-card { padding: 26px 18px; }
  .vvb-paypal-buttons { max-width: 100%; }
}

/* Front Desk Portal */
.vvb-frontdesk-panel { background: #fff; border: 1px solid var(--vvb-border); border-top: 0; padding: 24px; }
.vvb-frontdesk-login { background: #fff; border: 1px solid var(--vvb-border); border-top: 0; padding: 24px; }
.vvb-frontdesk-tools { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; padding: 14px 16px; background: var(--vvb-cream); border: 1px solid var(--vvb-border); border-radius: 12px; }
.vvb-frontdesk-filter { max-width: none; margin-bottom: 18px; }
.vvb-frontdesk-table-wrap { overflow-x: auto; border: 1px solid var(--vvb-border); border-radius: 12px; }
.vvb-frontdesk-table { width: 100%; border-collapse: collapse; min-width: 1100px; background: #fff; }
.vvb-frontdesk-table th, .vvb-frontdesk-table td { padding: 14px; border-bottom: 1px solid var(--vvb-border); vertical-align: top; text-align: left; }
.vvb-frontdesk-table th { background: var(--vvb-cream); color: var(--vvb-charcoal); font-weight: 700; }
.vvb-frontdesk-table tr:last-child td { border-bottom: 0; }
.vvb-frontdesk-table a { color: var(--vvb-gold); }
.vvb-frontdesk-edit label, .vvb-frontdesk-table td > form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; color: var(--vvb-charcoal); }
.vvb-frontdesk-edit input, .vvb-frontdesk-edit select, .vvb-frontdesk-edit textarea, .vvb-frontdesk-table td > form textarea { width: 100%; border: 1px solid var(--vvb-border); border-radius: 8px; padding: 9px 10px; margin-top: 3px; }
.vvb-frontdesk-edit .vvb-button, .vvb-frontdesk-table td > form .vvb-button { min-height: 38px; padding: 0 14px; font-size: 12px; }
.vvb-danger-button { background: #9b2f2f !important; box-shadow: none !important; }
.vvb-danger-button:hover { background: #7e2525 !important; }
.vvb-status { display: inline-block; margin-top: 7px; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--vvb-cream); color: var(--vvb-charcoal); }
.vvb-status-confirmed { background: #f4ead6; color: #815f21; }
.vvb-status-cancelled, .vvb-status-refunded { background: #fff1f1; color: #8a1f1f; }
.vvb-status-completed { background: #eff8ef; color: #27632c; }
@media (max-width: 760px) {
  .vvb-frontdesk-panel { padding: 16px; }
  .vvb-frontdesk-tools { display: block; }
}

/* v1.3 enhanced controls */
.vvb-manual-booking summary { cursor: pointer; color: var(--vvb-gold); font-size: 16px; margin-bottom: 8px; }
.vvb-manage-box { background: #fff; border: 1px solid var(--vvb-border); border-top: 0; padding: 24px; }


/* v1.5 Front Desk full-width layout fix */
.vvb-frontdesk.vvb-booking-wrap {
  width: min(1680px, calc(100vw - 32px));
  max-width: none;
  margin-top: 24px;
  margin-bottom: 30px;
}
body:not(.wp-admin) .vvb-frontdesk.vvb-booking-wrap {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  margin-right: 0;
}
.vvb-frontdesk .vvb-brand-card,
.vvb-frontdesk .vvb-frontdesk-panel,
.vvb-frontdesk .vvb-frontdesk-login {
  width: 100%;
}
.vvb-frontdesk-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.vvb-frontdesk-table {
  min-width: 1280px;
}
.vvb-frontdesk-table th:nth-child(1),
.vvb-frontdesk-table td:nth-child(1) { width: 180px; }
.vvb-frontdesk-table th:nth-child(2),
.vvb-frontdesk-table td:nth-child(2) { width: 230px; }
.vvb-frontdesk-table th:nth-child(3),
.vvb-frontdesk-table td:nth-child(3) { width: 175px; }
.vvb-frontdesk-table th:nth-child(4),
.vvb-frontdesk-table td:nth-child(4) { width: 360px; }
.vvb-frontdesk-table th:nth-child(5),
.vvb-frontdesk-table td:nth-child(5) { width: 185px; }
@media (max-width: 900px) {
  .vvb-frontdesk.vvb-booking-wrap {
    width: calc(100vw - 18px);
  }
}
