/* Reserviva branding, scoped to the optional Cuspan customer panel. */
#cuspan-pro-root.cuspan-pro {
 --cuspan-accent-soft: #e0f8f5 !important;
 --cuspan-accent-contrast: #132238 !important;
 --cuspan-shadow-lg: 0 10px 25px -5px rgba(19,34,56,.12);
}
#cuspan-pro-root .cuspan-sidebar {
 background: #30343b;
 --cuspan-text: #f7f8fa;
 --cuspan-muted: #c4cbd3;
 --cuspan-border: #484e57;
 color: #f7f8fa;
}
#cuspan-pro-root .cuspan-sidebar .cuspan-nav-item,
#cuspan-pro-root .cuspan-sidebar .cuspan-logout { color: #e2e7ed; }
#cuspan-pro-root .cuspan-sidebar .cuspan-nav-item:hover,
#cuspan-pro-root .cuspan-sidebar .cuspan-nav-item.is-active {
 background: #214f50; color: #63eee4; border-color: #27d8cf;
}
#cuspan-pro-root .cuspan-sidebar .cuspan-user-name { color: #ffffff; }
#cuspan-pro-root .cuspan-sidebar .cuspan-user-email { color: #c4cbd3; }
#cuspan-pro-root .cuspan-sidebar-brand { padding: 24px; min-height: 88px; }
#cuspan-pro-root .cuspan-sidebar-logo { width: 162px; max-width: 100%; height: auto; max-height: 40px; object-fit: contain; }
#cuspan-pro-root .cuspan-topbar-brand { background: #30343b; border-radius: 8px; padding: 8px 12px; color: #fff; }
#cuspan-pro-root .cuspan-topbar-logo { width: 130px; max-height: 32px; height: auto; object-fit: contain; }

@media (max-width: 768px) {
 #cuspan-pro-root .cuspan-topbar {
  background: #30343b;
  border-bottom-color: #484e57;
  color: #ffffff;
 }
 #cuspan-pro-root .cuspan-topbar-title,
 #cuspan-pro-root .cuspan-topbar-brand-name { color: #ffffff; }
 #cuspan-pro-root .cuspan-topbar-brand { padding: 0; border-radius: 0; }
 #cuspan-pro-root .cuspan-account-toggle {
  background: #3e454e; color: #ffffff; border-color: #59626e;
 }
 #cuspan-pro-root .cuspan-account-toggle:hover,
 #cuspan-pro-root .cuspan-account-toggle:focus-visible {
  background: #214f50; color: #63eee4; outline-color: #27d8cf;
 }
 #cuspan-pro-root .cuspan-account-toggle .cuspan-user-avatar--placeholder {
  background: #505965; color: #ffffff;
 }
}

#cuspan-pro-root .cuspan-sidebar .cuspan-nav-item {
 border: 0; box-shadow: none; outline: none;
}
#cuspan-pro-root .cuspan-sidebar .cuspan-nav-item:focus-visible {
 outline: 2px solid #ffffff; outline-offset: -4px;
}

@media (max-width: 768px) {
 #cuspan-pro-root .cuspan-topbar-brand-name { display: none; }
}


/* Clearer secondary text and restrained accent icons in booking content. */
#cuspan-pro-root.cuspan-pro {
 --cuspan-muted: #505b6b !important;
 --cuspan-subtle: #637084 !important;
}
#cuspan-pro-root .cuspan-sidebar {
 --cuspan-muted: #c4cbd3 !important;
 --cuspan-subtle: #c4cbd3 !important;
}
#cuspan-pro-root .cuspan-next-meta i,
#cuspan-pro-root .cuspan-appt-sub i,
#cuspan-pro-root .cuspan-stat-icon i,
#cuspan-pro-root .cuspan-appt-icon i,
#cuspan-pro-root .cuspan-search-icon,
#cuspan-pro-root .cuspan-appt-actions i,
#cuspan-pro-root .cuspan-next-actions i,
#cuspan-pro-root .cuspan-detail-btn i {
 color: #087f79;
 font-size: .85em;
}

@media (max-width: 768px) {
 #cuspan-pro-root .cuspan-appt-card > .cuspan-appt-icon { display: none; }
}


/* Dark teal foregrounds on light surfaces; retain bright brand backgrounds. */
#cuspan-pro-root .cuspan-shell {
 --cuspan-accent: #087f79;
 --cuspan-accent-strong: #06665f;
}


#cuspan-pro-root [data-cuspan-action='status']::before,
.cuspan-drawer [data-cuspan-detail-action='status']::before {
 content: '\00d7';
 display: inline-block;
 color: #c93434;
 font-size: 17px;
 font-weight: 700;
 line-height: 1;
 margin-right: 5px;
}


/* Keep cancellation icon and label together, centered as one group. */
#cuspan-pro-root [data-cuspan-action="status"],
.cuspan-drawer [data-cuspan-detail-action="status"],
.cuspan-drawer .rv-detail-cancel {
 display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
#cuspan-pro-root [data-cuspan-action="status"]::before,
.cuspan-drawer [data-cuspan-detail-action="status"]::before { margin: 0; flex: 0 0 auto; }
.cuspan-drawer .rv-detail-cancel { width: 100%; min-height: 44px; }

.cuspan-drawer .cuspan-drawer-footer { flex-shrink: 0; max-height: 40vh; max-height: 40dvh; overflow-y: auto; }
.cuspan-drawer .rv-detail-cancel { flex: 0 0 auto; margin-bottom: 8px; }


.cuspan-drawer .rv-detail-cancel { color: #b42318; border-color: #e6aaa5; background: #fff7f6; }
.cuspan-drawer .rv-detail-cancel:hover { color: #912018; border-color: #c93434; background: #ffebe9; }
.cuspan-drawer [data-cuspan-detail-action="reschedule"]::before {
 content: '\f017'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
 font-size: .85em; color: #087f79; margin-right: 6px;
}

#cuspan-pro-root .cuspan-btn--primary,
.cuspan-drawer .cuspan-btn--primary,
#cuspan-pro-root .cuspan-btn--primary:hover,
.cuspan-drawer .cuspan-btn--primary:hover { color: #ffffff; }

