/* Bottom sheet on a phone, a card on the left on desktop — away from the
   booking call-to-action, which sits right on this site. Deliberately
   quiet: a consent notice that shouts is a consent notice people dismiss
   without reading, which is the outcome nobody wants. */

.cttp-consent {
  position: fixed;
  z-index: 2147483000; /* above the site's own overlays, below nothing */
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 18px 20px;
  background: #ffffff;
  color: #1f2430;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .cttp-consent {
    right: auto;
    bottom: 20px;
    left: 20px;
    max-width: 420px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
  }
}

.cttp-consent__text { margin: 0 0 10px; }

.cttp-consent__link {
  color: #0b62d0;
  text-decoration: underline;
  font-size: 13px;
}

.cttp-consent__options {
  margin: 14px 0;
  display: grid;
  gap: 10px;
}

.cttp-consent__option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cttp-consent__option input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.cttp-consent__opt-name {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
}

.cttp-consent__opt-desc {
  display: block;
  font-size: 12.5px;
  color: #5b6272;
}

.cttp-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cttp-consent__btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #fff;
  color: #1f2430;
  border-radius: 8px;
  /* 16px so iOS doesn't zoom the page when the control is focused. */
  font-size: 16px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  flex: 1 1 auto;
  min-height: 44px; /* thumb-sized */
}

@media (min-width: 768px) {
  .cttp-consent__btn { font-size: 14px; flex: 0 0 auto; }
}

.cttp-consent__btn:hover { background: #f4f6f9; }

.cttp-consent__btn--primary {
  background: #0b62d0;
  border-color: #0b62d0;
  color: #fff;
}

.cttp-consent__btn--primary:hover { background: #0a56b6; }

.cttp-consent__btn--quiet { color: #5b6272; }

.cttp-consent__btn:focus-visible {
  outline: 2px solid #0b62d0;
  outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  .cttp-consent {
    background: #171a21;
    color: #e7e9ee;
    border-color: rgba(255, 255, 255, 0.12);
  }
  .cttp-consent__opt-desc { color: #a2a9b8; }
  .cttp-consent__btn {
    background: #1f232c;
    color: #e7e9ee;
    border-color: rgba(255, 255, 255, 0.18);
  }
  .cttp-consent__btn:hover { background: #262b36; }
  .cttp-consent__btn--primary { background: #2f7ee0; border-color: #2f7ee0; color: #fff; }
}
