/* Admin */

:root{
  --bss-color-white: #fff;
  --bss-color-black: #000;

  --bss-color-text: #333;
  --bss-color-text-muted: #666;

  --bss-color-border: #ddd;
  --bss-color-border-2: #dcdcdc;
  --bss-color-border-3: #e5e5e5;

  --bss-color-bg-muted: #f7f7f7;
  --bss-color-disabled: #aaaaaa;

  --bss-color-focus-ring: rgba(0, 20, 200, 0.28);

  --bss-color-success: #2ecc71;
  --bss-color-success-dark: #1b5e2b;
  --bss-color-success-bg: #e9fbef;
  --bss-color-success-bg-2: rgba(46, 204, 113, 0.10);
  --bss-color-success-bg-3: rgba(46, 204, 113, 0.18);
  --bss-color-success-border: #9fd6ad;
  --bss-color-success-border-alpha: rgba(46, 204, 113, 0.35);

  --bss-color-danger: #e74c3c;
  --bss-color-danger-dark: #8a1f1f;
  --bss-color-danger-bg: #ffecec;
  --bss-color-danger-bg-2: rgba(231, 76, 60, 0.12);
  --bss-color-danger-bg-3: rgba(231, 76, 60, 0.18);
  --bss-color-danger-border: #f3b0b0;
  --bss-color-danger-alpha-50: rgba(231, 76, 60, 0.5);
  --bss-color-danger-alpha-80: rgba(231, 76, 60, 0.8);

  --bss-color-warning: #f39c12;
  --bss-color-warning-dark: #7a4b00;
  --bss-color-warning-bg: #fff5e6;
  --bss-color-warning-bg-2: rgba(243, 156, 18, 0.18);
  --bss-color-warning-border: #f0c27a;

  --bss-color-alert-bg: rgba(255, 100, 100, 0.10);
  --bss-color-neutral-alpha: rgba(150, 150, 150, 0.18);

  --bss-shadow-04: rgba(0,0,0,.04);
  --bss-shadow-06: rgba(0,0,0,0.06);
  --bss-shadow-08: rgba(0,0,0,.08);
  --bss-shadow-12: rgba(0,0,0,0.12);
  --bss-shadow-14: rgba(0,0,0,0.14);

  /* UI tokens */
  --bss-radius-sm: 7px;
  --bss-radius-md: 10px;
  --bss-radius-lg: 14px;

  --bss-font-sm: 13px;
  --bss-font-md: 14px;
  --bss-font-lg: 16px;

  --bss-surface: var(--bss-color-white);
  --bss-surface-muted: #fafafa;

  --bss-shadow-card: 0 8px 24px rgba(0,0,0,0.08);
  --bss-shadow-soft: 0 2px 10px rgba(0,0,0,0.06);

  /* Calendar palette */
  --bss-cal-available-bg: rgba(46, 204, 113, 0.16);
  --bss-cal-available-bg-hover: rgba(46, 204, 113, 0.24);
  --bss-cal-pending-bg: rgba(243, 156, 18, 0.18);
  --bss-cal-pending-bg-hover: rgba(243, 156, 18, 0.26);
  --bss-cal-booked-bg: rgba(231, 76, 60, 0.18);
  --bss-cal-booked-bg-hover: rgba(231, 76, 60, 0.26);
  --bss-cal-unavailable-bg: rgba(150, 150, 150, 0.22);
  --bss-cal-unavailable-bg-hover: rgba(150, 150, 150, 0.28);

  --bss-cal-selected-bg: rgba(0, 20, 200, 0.16);
  --bss-cal-selected-ring: rgba(0, 20, 200, 0.36);

  /* Button palette */
  --bss-btn-bg: #f2f2f2;
  --bss-btn-bg-hover: #e9e9e9;
  --bss-btn-border: rgba(0,0,0,0.12);

  --bss-btn-primary-bg: rgba(0, 20, 200, 0.10);
  --bss-btn-primary-bg-hover: rgba(0, 20, 200, 0.16);
  --bss-btn-primary-border: rgba(0, 20, 200, 0.22);

  --bss-btn-danger-bg: rgba(231, 76, 60, 0.10);
  --bss-btn-danger-bg-hover: rgba(231, 76, 60, 0.16);
  --bss-btn-danger-border: rgba(231, 76, 60, 0.22);

}
/* TODO LOCALHOST REMOVE */
div#post-13352 {
    background: white;
    color: black!important;
    padding:20px;
}
div#post-13352 a,
div#post-13352 input,
div#post-13352 textarea,
div#post-13352 select,
div#post-13352 h2
{
	background: white!important;
    color: black!important;
    min-height: 34px;
}
div#post-13352 h3 {
	color: black!important;
}

.bss-admin .bss-overrides-table input[type="date"],
.bss-admin .bss-overrides-table select {
  min-width: 160px;
}

/* Mandatory field marker */
.bss-label-mandatory::after {
    content: "*";
    margin-left: 4px;
    color: #d63638;
    font-weight: 600;
}

/* Calendar */
.bss-calendar{
  width:100%;
  border:1px solid var(--bss-color-border-3);
  border-radius: var(--bss-radius-lg);
  box-shadow: var(--bss-shadow-soft);
  padding: 14px;
}

.bss-calendar-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 14px;
}

.bss-calendar-header h2{
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.bss-house-rules {
    background: var(--bss-color-bg-muted)!important;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #aaa;
}
.bss-rules li {
	padding:2px;
}
a.button.button-small.bss-button.bss-calendar-year-link {
    font-size: small;
    padding: 6px;
}

.bss-toggle {
	cursor:pointer;
}
.bss-no-toggle {
	color:red;
}

.bss-admin-header-title {
    color: var(--bss-color-primary)!important;
    font-weight:600;
}

.bss-legend{
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  font-size: 13px;
}

.bss-legend-item{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--bss-radius-sm);
  border: 1px solid var(--bss-color-border-3);
}

.bss-dot{
  width:10px;
  height:10px;
  border-radius: 999px;
  display:inline-block;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.03) inset;
}

.bss-dot.unavailable {
	background: var(--bss-color-disabled);
}

.bss-dot.available {
	background: var(--bss-color-success);
}

.bss-dot.booked {
	background: var(--bss-color-danger);
}

.bss-dot.pending {
	background: var(--bss-color-warning);
}

.bss-months{
  display:grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 14px;
}

@media (max-width: 1100px){
  .bss-months{ grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width: 700px){
  .bss-calendar{ padding: 12px; }
  .bss-months{ grid-template-columns: 1fr; }
}

.bss-month{
  border:1px solid var(--bss-color-border-3);
  border-radius: var(--bss-radius-md);
  padding: 12px;
  box-shadow: 0 1px 2px var(--bss-shadow-04);
}

.bss-month-title{
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.bss-weekdays,
.bss-days{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.bss-weekdays div{
  font-size: 12px;
  opacity: 0.75;
  text-align:center;
  padding: 2px 0 4px;
  user-select:none;
}

.bss-day{
  border-radius: 10px;
  min-height: 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  position:relative;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .08s ease, background-color .12s ease, box-shadow .12s ease, border-color .12s ease;
  user-select:none;
}

.bss-day.blank{
  background: transparent;
  border: none;
  box-shadow:none;
}

.bss-day .num{
  font-weight: 650;
}

.bss-day.unavailable{ background: var(--bss-cal-unavailable-bg); }
.bss-day.available{ background: var(--bss-cal-available-bg); }
.bss-day.booked{ background: var(--bss-cal-booked-bg); }
.bss-day.pending{ background: var(--bss-cal-pending-bg); }

.bss-day.available:hover{
  background: var(--bss-cal-available-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.10);
}

.bss-day.pending:hover{ background: var(--bss-cal-pending-bg-hover); }
.bss-day.booked:hover{ background: var(--bss-cal-booked-bg-hover); }
.bss-day.unavailable:hover{ background: var(--bss-cal-unavailable-bg-hover); }

.bss-day.available{ cursor:pointer; }

/* Date-range selection */
.bss-day.bss-selected-start,
.bss-day.bss-selected-end{
  outline: 2px solid var(--bss-cal-selected-ring);
  background: var(--bss-cal-selected-bg) !important;
}

.bss-day.bss-selected-range{
  background: var(--bss-cal-selected-bg) !important;
}

.bss-day:focus-visible{
  outline: 3px solid var(--bss-color-focus-ring);
  outline-offset: 2px;
}


/* Booking dates shortcode */
.bss-my-enquiries,
.bss-booking-dates {
  border: 1px solid var(--bss-shadow-08);
  border-radius: var(--bss-radius-sm);
  padding: 12px;
}

.bss-booking-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.bss-booking-list li {
  border: 1px solid var(--bss-shadow-08);
  border-radius: var(--bss-radius-sm);
  padding: 10px;
}

.bss-booking-list li.highlight {
  outline: 2px solid var(--bss-color-success-border-alpha);
}

.bss-booking-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.bss-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 14px;
  opacity: 0.9;
}


/* Enquiry form under calendar */
.bss-notice {
    position: relative;
    border-left: 4px solid #999;
    background: #fff;
    padding: 10px 44px 10px 14px;
    margin: 12px 0;
    border-radius: 3px;
    font-size: 14px;
}

.bss-notice__close {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
}

.bss-notice__close:hover,
.bss-notice__close:focus {
    opacity: 1;
}

.bss-notice p {
    margin: 0;
}

/* SUCCESS */

.bss-notice-success {
    border-left-color: #00a32a;
    background: #f0f9f1;
}

/* ERROR */

.bss-notice-error {
    border-left-color: #d63638;
    background: #fcf0f1;
}

/* WARNING */

.bss-notice-warning {
    border-left-color: #dba617;
    background: #fff8e5;
}

/* INFO */

.bss-notice-info {
    border-left-color: #2271b1;
    background: #f0f6fc;
}

.bss-enquiry-form-wrap {
  margin-top: 16px;
  border: 1px solid var(--bss-shadow-08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .06);
  border-radius: var(--bss-radius-sm);
  padding: 12px;
}

.bss-enquiry-form-wrap h3 {
  margin: 0 0 10px 0;
}

.bss-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 700px) {
  .bss-form-grid { grid-template-columns: 1fr; }
}

.button-small {
    border: none;
    border-radius: var(--bss-radius-sm);
    padding: 10px 14px;
    cursor: pointer;
}

.bss-enquiry-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

.bss-enquiry-form input,
.bss-enquiry-form textarea {
  width: 100%;
  border-radius: var(--bss-radius-sm);
  border: 1px solid var(--bss-shadow-14);
  padding: 10px 10px;
  font-size: 14px;
}

.bss-enquiry-form textarea {
  resize: vertical;
}

.bss-form-notes {
  margin-top: 10px;
}

.bss-form-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bss-enquiry-form button[type="submit"] {
  border: none;
  border-radius: var(--bss-radius-sm);
  cursor: pointer;
}

.bss-form-hint {
  font-size: 13px;
  opacity: 0.8;
}

.bss-invalid {
  border-color: var(--bss-color-danger-alpha-80) !important;
  box-shadow: 0 0 0 2px var(--bss-color-danger-bg-2);
}

/* Enquiry form helpers */
.bss-invalid { outline: 2px solid var(--bss-color-danger-alpha-50); }
form.bss-enquiry-form button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Enquiry form layout */
.bss-form-grid select { width: 100%; padding: 8px; box-sizing: border-box; }
.bss-form-terms { margin: 10px 0; }
.bss-form-terms a { text-decoration: underline; }


/* Admin overview cards (front-end shortcode output) */
.bss-admin-overview {
	margin: 10px 0;
	border: 1px solid var(--bss-color-border-3);
	border-radius: var(--bss-radius-sm);
	padding: 12px;
	box-shadow: 0 1px 2px var(--bss-shadow-04);
	margin-bottom: var(--bss-radius-sm);
}

.bss-admin-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 10px 0 14px;
}

.bss-admin-toolbar input[type="search"], .bss-admin-toolbar select {
	padding: 8px 10px;
	border: 1px solid var(--bss-color-border-2);
	border-radius: var(--bss-radius-sm);
}

.bss-admin-cards {
	display: grid;
	gap: 12px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bss-admin-panel {
    border: 1px solid #777;
    padding: 5px;
    vertical-align: middle;
    border-radius: 5px;
    background: white;
    color: #555;
}

@media (max-width: 900px) {
    .bss-admin-cards{
        grid-template-columns: 1fr;
    }
}
.bss-admin-card {
	border: 1px solid var(--bss-color-border-3);
	border-radius: var(--bss-radius-sm);
	padding: 12px;
	box-shadow: 0 1px 2px var(--bss-shadow-04);
	margin-bottom: var(--bss-radius-sm);
}

.bss-booking-timeline {
	margin:10px;
    border-left:2px solid #ddd;
    padding-left:12px;
}

.bss-booking-timeline-header {
	cursor: pointer;
}

.bss-admin-card-header {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: flex-start;
	cursor:pointer;
}


/* Collapsible admin cards */
.bss-booking-timeline.is-collapsed > .bss-booking-timeline-body,
.bss-calendar.is-collapsed > .bss-calendar-body,
.bss-admin-card:not(.is-expanded) > .bss-admin-card-body {
    display: none;
}

.bss-calendar.is-expanded > .bss-calendar-body,
.bss-admin-card.is-expanded > .bss-admin-card-body {
    display: block;
}

.bss-admin-card-body{
    margin-top:10px;
}

.bss-calendar.is-expanded > .bss-calendar-body,
.bss-admin-card.is-expanded > .bss-admin-card-body {
    display: block;
}

.bss-admin-card-header {
    justify-content: flex-start;
    align-items: center;
}

.bss-admin-card-title {
    flex: 1;
}
.bss-admin-cards{
  align-items:start;
}

.bss-admin-card{
  align-self:start;
}
.bss-admin-timeline-toggle,
.bss-admin-calendar-toggle,
.bss-admin-card-toggle {
    margin-left: auto;
    border: 1px solid var(--bss-color-border);
    border-radius: var(--bss-radius-sm);
    width: 28px;
    height: 28px;
    line-height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    float:right;
}

.bss-calendar.is-collapsed .bss-admin-calendar-toggle::before,
.bss-booking-timeline.is-collapsed .bss-admin-timeline-toggle::before,
.bss-admin-card-toggle::before {
    content: "▾";
    font-size: 16px;
    line-height: 1;
}

.bss-calendar.is-expanded .bss-admin-calendar-toggle::before,
.bss-booking-timeline.is-expanded .bss-admin-timeline-toggle::before,
.bss-admin-card.is-expanded .bss-admin-card-toggle::before {
    content: "▴";
}

.bss-admin-card-title {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
}

.bss-admin-meta {
	margin-top: 8px;
	display: grid;
	gap: 6px;
	font-size: 13px;
}

.bss-admin-meta div strong {
	display: inline-block;
	min-width: 110px;
}

.bss-admin-actions{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.bss-admin-actions a.button,
.bss-admin-actions button.button{
  appearance:none;
  text-transform:capitalize!important;
  border:1px solid var(--bss-btn-border);
  background: var(--bss-btn-bg);
  color: var(--bss-color-text);
  border-radius: var(--bss-radius-sm);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  transition: transform .08s ease, background-color .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.bss-form-label {
	text-transform:capitalize!important;
	font-weight: bolder;
	font-size: 14px;
}

.bss-admin-actions a.button:hover,
.bss-admin-actions button.button:hover{
  background: var(--bss-btn-bg-hover);
  border-color: rgba(0,0,0,0.16);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

.bss-admin-actions a.button:focus,
.bss-admin-actions button.button:focus{
  outline: none;
  box-shadow: 0 0 0 3px var(--bss-color-focus-ring), 0 6px 18px rgba(0,0,0,0.10);
}

.bss-admin-actions a.button[disabled],
.bss-admin-actions button.button[disabled]{
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Optional semantic variants (add class in markup when convenient) */
.bss-admin-actions .bss-btn-primary{
  background: var(--bss-btn-primary-bg);
  border-color: var(--bss-btn-primary-border);
}
.bss-admin-actions .bss-btn-primary:hover{
  background: var(--bss-btn-primary-bg-hover);
}

.bss-admin-actions .bss-btn-danger{
  background: var(--bss-btn-danger-bg);
  border-color: var(--bss-btn-danger-border);
  color: var(--bss-color-danger-dark);
}

.bss-admin-actions .bss-btn-danger:hover{
  background: var(--bss-btn-danger-bg-hover);
}

.bss-admin-actions .bss-button-delete{
  background: var(--bss-btn-danger-bg)!important;
}

.bss-admin-booking-card .bss-admin-invoice-card {
	border: 1px solid var(--bss-shadow-08);
}
.bss-drawer {
	background:#f6f6f6!important;
}

/* Drawers */
.bss-drawer,
.bss-admin-booking-details,
.bss-admin-invoice-details,
.bss-admin-enquiry-details,
.bss-booking-enquiries,
.bss-booking-payment,
.bss-booking-cancel,
.bss-booking-user-cancel,
.bss-user-booking-cancel,
.bss-admin-invoice,
.bss-admin-reply,
.bss-admin-edit	,
.bss-admin-approve,
.bss-admin-dates,
.bss-admin-cancel, 
.bss-admin-reject ,
.bss-admin-comm ,
.bss-admin-note ,
.bss-admin-history,
.bss-admin-checklist,
.bss-admin-invoice-send,
.bss-admin-invoice-markpaid,
.bss-booking-question {
	display: none;
	margin-top: var(--bss-radius-md);
	padding: var(--bss-radius-md);
	border: 1px solid #e2e2e2;
	border-radius: var(--bss-radius-sm);
}

.bss-admin-history-box  {
	background: var(--bss-surface);
	border: 1px solid var(--bss-shadow-08);
	border-radius: var(--bss-radius-sm);
	padding: 10px;
	line-height: 1.45;
	max-height: 260px;
	overflow: auto;
}
.bss-admin-form-table {
	border:none!important;
}
.bss-admin-form-table th {
	border: none;
	padding: 5px !important;
	text-align: left;
	vertical-align: top;
}

.bss-admin-form-table td {
	border: none;
	padding: 5px !important;
}

.bss-admin-form-table input[type="number"] {
	max-width: 160px;
}

.bss-admin-muted { 
	color:var(--bss-color-text-muted);
}
.bss-id {
	display:contents;
}

/* Payment status badges */
.bss-admin-badge,
.bss-badge {
	border-radius: var(--bss-radius-sm);
    font-weight: 600;
    margin-left: 6px;
    display: inline-block;
    white-space: nowrap;
    font-size: 12px;
    padding: 2px 8px;
}
.bss-admin-badge {
	border: 1px solid var(--bss-color-border);
	background: var(--bss-color-bg-muted);
}
.bss-notes-badge {
    margin-left:6px;
    padding:2px 6px;
    font-size:11px;
    border-radius:4px;
    background:#eef5ff;
    color:#2c5aa0;
}
.bss-enquiry-badge {
    background:#2271b1;
    color:#fff;
    cursor:pointer;
}
.bss-pay-badge {
	padding: 2px 8px;
	font-size: 12px;
	border: 1px solid var(--bss-shadow-12);
}

.bss-pay-unpaid {
	background: var(--bss-color-danger-bg);
	border-color: var(--bss-color-danger-border);
	color: var(--bss-color-danger-dark);
}

.bss-pay-partpaid {
	background: var(--bss-color-warning-bg);
	border-color: var(--bss-color-warning-border);
	color: var(--bss-color-warning-dark);
}

.bss-pay-paid {
	background: var(--bss-color-success-bg);
	border-color: var(--bss-color-success-border);
	color: var(--bss-color-success-dark);
}
/* Overpaid invoice badge */
.bss-overpaid-badge,
.bss-overpaid-badge.bss-pay-badge {
    background: #6a1b9a;
    color: var(--bss-color-white)
}

/* Special buttons */
.bss-button-wp {
    color: var(--bss-color-black)!important;
    background: none!important;
    text-decoration: underline !important;
    font-weight: 400!important;
    text-transform: math-auto;
}

/* Admin Arrival Dashboard */
.bss-dashboard{
  margin: 18px 0;
}
.bss-dashboard-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin: 0 0 14px 0;
}
.bss-dashboard-header h2{
  margin:0;
  font-size: 20px;
  line-height: 1.2;
}
.bss-summary-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 980px){
  .bss-summary-grid{ grid-template-columns: 1fr; }
}
.bss-summary-card{
  border: 1px solid var(--bss-color-border);
  border-radius: var(--bss-radius-sm);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  padding: 14px;
}
.bss-summary-card.bss-summary-danger{
  border-color: rgba(220, 53, 69, .35);
}
.bss-summary-top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.bss-summary-title{
  font-weight: 700;
  font-size: 14px;
  color: var(--bss-color-text);
  letter-spacing: .2px;
}
.bss-summary-count{
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--bss-color-primary, #2271b1);
}
.bss-summary-danger .bss-summary-count{
  color: rgba(220, 53, 69, 1);
}
.bss-summary-body{
  font-size: 13px;
  color: var(--bss-color-text);
}
.bss-mini-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}
.bss-mini-list li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 8px;
}
.bss-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--bss-color-border);
  background: rgba(0,0,0,.02);
  white-space: nowrap;
  margin-left: 10px;
}
.bss-chip-today,
.bss-chip-warn{
  border-color: rgba(220, 53, 69, .25);
  background: rgba(220, 53, 69, .06);
}
.bss-muted{
  color: var(--bss-color-text-muted);
  font-size: 12px;
}

.bss-white-text * {
    color: var(--bss-color-white) !important;
    border: unset;
}

/* Overdue invoice indicator */
.bss-overdue-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  line-height:1;
  background: var(--bss-danger, #b91c1c);
  color: var(--bss-color-white);
  margin-left:8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

/* Due soon/today indicators (same shape as overdue) */
.bss-due-today-badge,
.bss-due-soon-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color: #111;
  margin-left:8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.bss-due-today-badge{
  background: var(--bss-color-warning-bg);
  border: 1px solid var(--bss-color-warning-border);
}
.bss-due-soon-badge{
  background: rgba(243, 156, 18, 0.10);
  border: 1px solid rgba(243, 156, 18, 0.22);
}
.bss-admin-card.bss-overdue{
  border-color: var(--bss-danger, #b91c1c);
  box-shadow: 0 6px 18px rgba(185,28,28,.10);
}

.bss-invoice-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.bss-invoice-grid .full {
	grid-column: 1/-1;
}

.bss-house-avalability {
	  border: 1px solid var(--bss-color-border);
	  padding:10px;
}

.bss-invoice-grid label {
	font-weight: 600;
	display: block;
	margin-bottom: 4px;
}

.bss-invoice-grid input[type="text"], .bss-invoice-grid input[type="email"],
	.bss-invoice-grid input[type="date"], .bss-invoice-grid input[type="number"],
	.bss-invoice-grid textarea, .bss-invoice-grid select {
	width: 100%;
}

.bss-admin-card.bss-overpaid {
    border-left: 4px solid #6a1b9a;
}

/* Dashboard summary card (purple) */
.bss-summary-card.bss-summary-purple {
    border-left: 4px solid #6a1b9a;
}

/* Booking delete blocked notice */
.bss-note-warning {
	display: inline-block;
	margin-left: 6px;
	padding: 3px 6px;
	border-radius: 4px;
	background: #fff3cd;
	color: #856404;
	font-size: 12px;
	line-height: 1.4;
}

/* Dashboard warning card */
.bss-summary-card.bss-summary-warn {
	border-left: 4px solid #dba617;
}

.bss-timeline-event{
    position:relative;
    margin-bottom:8px;
}

.bss-timeline-dot{
    width:8px;
    height:8px;
    background:#2271b1;
    border-radius:50%;
    position:absolute;
    left:-17px;
    top:5px;
}

.bss-timeline-text{
    font-size:13px;
}

/* Calendar popup option (shortcode [sbs_booking_calendar popup="1"]) */
.bss-calendar-popup-button{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--bss-color-border-3);
  border-radius: var(--bss-radius-lg);
  padding:10px 14px;
  cursor:pointer;
  background: var(--bss-color-surface, #fff);
  box-shadow: var(--bss-shadow-soft);
}

.bss-calendar-popup-button:hover{
  filter: brightness(0.98);
}

.bss-calendar-icon{
  width:18px;
  height:18px;
  display:inline-block;
  position:relative;
}

.bss-calendar-icon::before{
  content: "📅";
  display:block;
  line-height: 18px;
  font-size: 18px;
}

body.bss-modal-open{
  overflow:hidden;
}

.bss-calendar-popup-overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.45);
  z-index: 99999;
  padding: 18px;
  display:flex;
  align-items: center;
  justify-content: center;
}

/* Respect the HTML [hidden] attribute (the selector above would otherwise override it) */
.bss-calendar-popup-overlay[hidden]{
  display:none !important;
}

.bss-calendar-popup-panel{
  width:min(1100px, 100%);
  max-height: calc(100vh - 36px);
  overflow:auto;
  background:#fff;
  border-radius: var(--bss-radius-lg);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  padding: 56px 14px 14px;
  position: relative;
}

.bss-calendar-popup-close{
  position:absolute;
  top:10px;
  right:10px;
  width:32px;
  height:32px;
  border:1px solid var(--bss-color-border-3);
  border-radius: var(--bss-radius-sm);
  background:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

@media (max-width: 700px){
  .bss-calendar-popup-overlay{
    align-items:flex-start;
    padding: 8px;
  }

  .bss-calendar-popup-panel{
    width:100%;
    max-height: calc(100vh - 16px);
    padding: 60px 10px 10px;
  }
}

.bss-calendar-popup-close::before{
  content:"✓";
  font-size: 18px;
  line-height: 1;
}

.bss-help-modal {
    z-index: 9999;
    width:100%;
    height:100%;
    background: rgba(100, 100, 100, 0.1);
    padding: 1px;
    margin: 7px;
}

.bss-help-content{
    background:#fff;
    margin:5% auto;
    padding:20px;
    width:80%;
    max-width:800px;
    border-radius:6px;
    position:relative;
}

.bss-help-close{
    position:absolute;
    right:10px;
    top:10px;
    font-size:24px;
    cursor:pointer;
}


.bss-estimated-price {
  margin-top: 8px;
}

.bss-estimated-price-note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #50575e;
}

.bss-estimated-price-note-invalid {
  color: #b32d2e;
}

.bss-admin-card{
  overflow:hidden;
  width:100%;
  min-width:0;
  box-sizing:border-box;
    border: 1px solid #e0e6ef;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);  
}

.bss-admin-card *{
  max-width:100%;
  box-sizing:border-box;
}

/* Header layout */
.bss-admin-card-header {
	gap:8px;
    flex-wrap:wrap;
    background: linear-gradient(135deg,#f3f6fb,#e8effa);
    border-bottom:1px solid #d7e2f3;

    padding:10px 12px;

    border-top-left-radius:8px;
    border-top-right-radius:8px;

    font-weight:600;
    font-size:14px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.bss-admin-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.bss-admin-card-title{
  display:flex;
  align-items:center;
  gap:6px;
  flex:1 1 auto;
  min-width:0;
}

.bss-admin-card-title span{
  white-space:normal;
  word-break:break-word;
}

.bss-admin-card-toggle{
  margin-left:auto;
  flex:0 0 auto;
}

.bss-admin-card-header .bss-badge,
.bss-admin-card-header .bss-admin-badge{
  flex:0 0 auto;
  max-width:100%;
}

/* Actions */
.bss-admin-actions{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.bss-admin-actions > *{
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
}

.bss-admin-actions a.button,
.bss-admin-actions button.button,
.bss-admin-actions a.button,
.bss-admin-actions button{
  max-width:100%;
  white-space:normal;
  text-align:center;
  line-height:1.2;
}

/* Mobile layout */
@media (max-width:600px){

  .bss-admin-card-header{
    align-items:flex-start;
  }

  .bss-admin-card-title{
    width:100%;
  }

  .bss-admin-actions{
    flex-wrap:wrap;
    align-items:stretch;
  }

  .bss-admin-actions > *{
    flex:1 1 calc(50% - 8px);
  }

  .bss-admin-actions a.button,
  .bss-admin-actions button.button,
  .bss-admin-actions a.button,
  .bss-admin-actions button{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:38px;
    padding:8px 10px;
    box-sizing:border-box;
  }

}

@media (max-width:420px){

  .bss-admin-actions > *{
    flex:1 1 100%;
  }

}
.bss-ops-groups{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.bss-ops-group{
  border:1px solid var(--bss-color-border);
  border-radius:8px;
  padding:10px;
  background:rgba(0,0,0,.015);
}

.bss-ops-group__title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
  flex-wrap:wrap;
}

.bss-settings-section-row th{
  padding:22px 0 10px 0 !important;
  border-bottom:none !important;
}

.bss-settings-section{
  border-top:2px solid var(--bss-color-border);
  padding-top:10px;
}

.bss-settings-section__title{
  margin:0 0 4px 0;
  font-size:18px;
  line-height:1.2;
}

.bss-settings-section__desc{
  margin:0;
  color:var(--bss-color-text-muted);
  font-size:13px;
}

.bss-admin-checklist .bss-checklist { margin-bottom: 10px; }
.bss-admin-checklist .bss-admin-actions { margin-top: 12px; }

/* BSS Checklist + Timeline */
.bss-checklist{font:14px/1.45 Arial,Helvetica,sans-serif;color:#1f2937}
.bss-checklist__head{margin-bottom:12px}
.bss-checklist__title{font-size:15px;font-weight:700;margin:0 0 8px}
.bss-checklist__meta{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 8px}
.bss-checklist__meta span{background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:4px 8px}
.bss-checklist__bar{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:8px 0 12px}
.bss-checklist__barfill{height:10px;background:#15803d}
.bss-checklist__next{padding:10px 12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-bottom:14px}
.bss-checklist__list{display:grid;gap:8px}
.bss-checklist__row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.bss-checklist__label{display:flex;align-items:center;gap:8px}
.bss-checklist__tag{font-size:11px;color:#64748b}
.bss-checklist__row--done{background:#f0fdf4;border-color:#bbf7d0}
.bss-checklist__row--overdue{background:#fff7ed;border-color:#fdba74}
.bss-checklist__tag--overdue{color:#c2410c;font-weight:700}
.bss-checklist__tick{font-weight:700;color:#15803d}
.bss-checklist__empty{color:#64748b}

.bss-timeline{margin-top:18px;padding-top:14px;border-top:1px solid #e5e7eb}
.bss-timeline__title{font-size:15px;font-weight:700;margin:0 0 10px}
.bss-timeline__list{position:relative;margin:0;padding:0;list-style:none}
.bss-timeline__item{position:relative;padding:0 0 14px 24px;margin:0}
.bss-timeline__item:before{content:"";position:absolute;left:7px;top:4px;bottom:-4px;width:2px;background:#dbe3ef}
.bss-timeline__item:last-child:before{display:none}
.bss-timeline__dot{position:absolute;left:0;top:2px;width:16px;height:16px;border-radius:50%;background:#2563eb;border:3px solid #dbeafe;box-sizing:border-box}
.bss-timeline__dot--default{background:#2563eb;border-color:#dbeafe}
.bss-timeline__dot--booking-rejected{background:#b91c1c;border-color:#fecaca}
.bss-timeline__dot--booking-cancelled{background:#be123c;border-color:#fda4af}
.bss-timeline__dot--booking-complete{background:#15803d;border-color:#86efac}

.bss-timeline__card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding: 5px 5px;}
.bss-timeline__card--default{background:#f8fafc;border-color:#e5e7eb}
.bss-timeline__card--booking-rejected{background:#fef2f2;border-color:#fecaca}
.bss-timeline__card--booking-cancelled{background:#fff1f2;border-color:#fda4af}
.bss-timeline__card--booking-complete{background:#ecfdf5;border-color:#86efac}

.bss-timeline__event{color:#111827;font-size: 13px;}
.bss-timeline__meta{font-size:12px;color:#64748b;margin-top:2px}
.bss-timeline__note{font-size:13px;color:#374151;margin-top:4px}


.bss-checklist__row--actionable{
  cursor:pointer;
}
.bss-checklist__row--actionable:hover{
  background:rgba(0,0,0,.03);
}
.bss-checklist__row--actionable .bss-checklist__label span:nth-child(2){
  text-decoration:underline;
  text-underline-offset:2px;
}

.bss-checkbox {
	width:22px!important;
	transform: scale(1.5);
}

.bss-ops-item[data-id] {
  cursor: pointer;
}

.bss-ops-item[data-id]:hover {
  background: #f8fafc;
}

.bss-card-jump-highlight {
  outline: 3px solid #2271b1;
  outline-offset: 2px;
  transition: outline-color 10s ease;
}


.bss-card-has-open-drawer .bss-admin-actions > a.button.bss-hide-for-drawer,
.bss-card-has-open-drawer .bss-admin-actions > button.button.bss-hide-for-drawer{
  display:none !important;
}
.bss-faq {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid #ddd;
    font-family: Arial, sans-serif;
}

.bss-faq-item {
    border-bottom: 1px solid #ddd;
}

.bss-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
    -webkit-appearance: none;
    appearance: none;
}

    .bss-faq-question:focus {
        outline: 2px solid #999;
        outline-offset: 2px;
    }

.bss-faq-question-text {
    flex: 1 1 auto;
    min-width: 0;
}

.bss-faq-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    line-height: 34px;
    text-align: center;
    border: 1px solid #bbb;
    border-radius: 999px;
    font-size: 22px;
    font-weight: 400;
}

.bss-faq-answer {
    padding: 0 0 16px 0;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

    .bss-faq-answer p:last-child {
        margin-bottom: 0;
    }

@media (max-width: 640px) {
    .bss-faq-question {
        padding: 14px 0;
        font-size: 16px;
        align-items: flex-start;
    }

    .bss-faq-icon {
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        line-height: 30px;
        font-size: 20px;
        margin-top: 2px;
    }

    .bss-faq-answer {
        font-size: 15px;
        padding: 0 0 14px 0;
    }
}