/* SchedulHub cookie consent banner + preferences modal */
.sh-cc-banner, .sh-cc-modal-backdrop {
  font-family: inherit;
  box-sizing: border-box;
}
.sh-cc-banner *, .sh-cc-modal-backdrop * {
  box-sizing: border-box;
}

.sh-cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  background: #0e2c59;
  color: #f5f7fa;
  padding: 18px 24px;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  animation: sh-cc-slide-up 0.3s ease-out;
}
@keyframes sh-cc-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.sh-cc-banner__text {
  flex: 1 1 420px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.sh-cc-banner__text a {
  color: #8ab4ff;
  text-decoration: underline;
}

.sh-cc-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.sh-cc-btn {
  cursor: pointer;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.sh-cc-btn--primary {
  background: #ffffff;
  color: #0e2c59;
}
.sh-cc-btn--primary:hover {
  background: #e6ecf5;
}
.sh-cc-btn--secondary {
  background: transparent;
  color: #f5f7fa;
  border-color: rgba(245, 247, 250, 0.5);
}
.sh-cc-btn--secondary:hover {
  background: rgba(245, 247, 250, 0.12);
}

.sh-cc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sh-cc-modal {
  background: #ffffff;
  color: #1f2937;
  border-radius: 10px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.sh-cc-modal h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0e2c59;
}
.sh-cc-modal > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}
.sh-cc-modal > p a {
  color: #0e2c59;
  font-weight: 600;
}

.sh-cc-category {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.sh-cc-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sh-cc-category__head strong {
  font-size: 14px;
}
.sh-cc-category__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.04em;
}
.sh-cc-category p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.sh-cc-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex: 0 0 auto;
}
.sh-cc-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.sh-cc-switch__track {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.sh-cc-switch__track::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.sh-cc-switch input:checked + .sh-cc-switch__track {
  background: #0e2c59;
}
.sh-cc-switch input:checked + .sh-cc-switch__track::before {
  transform: translateX(18px);
}
.sh-cc-switch input:disabled + .sh-cc-switch__track {
  background: #a8b6c9;
  cursor: not-allowed;
}

.sh-cc-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.sh-cc-modal__actions .sh-cc-btn--secondary {
  background: transparent;
  color: #0e2c59;
  border-color: #cbd5e1;
}
.sh-cc-modal__actions .sh-cc-btn--secondary:hover {
  background: #f1f5f9;
}
.sh-cc-modal__actions .sh-cc-btn--primary {
  background: #0e2c59;
  color: #fff;
}
.sh-cc-modal__actions .sh-cc-btn--primary:hover {
  background: #143b73;
}

.sh-cc-reopen {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99997;
  background: #0e2c59;
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 18px;
}
.sh-cc-reopen:hover {
  background: #143b73;
}

@media (max-width: 640px) {
  .sh-cc-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .sh-cc-banner__actions {
    justify-content: stretch;
  }
  .sh-cc-banner__actions .sh-cc-btn {
    flex: 1 1 auto;
  }
}
