.canineos-booking-embed {
  box-sizing: border-box;
  width: 100%;
  font-family: inherit;
}

.canineos-booking-embed *,
.canineos-booking-embed *::before,
.canineos-booking-embed *::after {
  box-sizing: border-box;
}

.canineos-booking-embed__button,
.canineos-booking-embed__fallback a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #273b87;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.canineos-booking-embed--button {
  text-align: left;
}

.canineos-booking-embed--align-center {
  text-align: center;
}

.canineos-booking-embed--align-right {
  text-align: right;
}

.canineos-booking-embed--button-small .canineos-booking-embed__button {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 14px;
}

.canineos-booking-embed--button-medium .canineos-booking-embed__button {
  min-height: 44px;
  padding: 12px 20px;
  font-size: 16px;
}

.canineos-booking-embed--button-large .canineos-booking-embed__button {
  min-height: 54px;
  padding: 16px 28px;
  font-size: 18px;
}

.canineos-booking-embed--button-full .canineos-booking-embed__button {
  width: 100%;
}

.canineos-booking-embed__button:hover,
.canineos-booking-embed__fallback a:hover {
  background: #1f2f6c;
  color: #fff;
}

.canineos-booking-embed--inline {
  position: relative;
  min-height: min(var(--canineos-booking-height, 760px), 90vh);
  overflow: hidden;
  border: 1px solid #d9deea;
  border-radius: 8px;
  background: #fff;
}

.canineos-booking-embed__frame {
  display: block;
  width: 100%;
  height: var(--canineos-booking-height, 760px);
  min-height: 520px;
  border: 0;
  background: #fff;
}

.canineos-booking-embed__loading,
.canineos-booking-embed__fallback {
  padding: 18px;
  color: #1f2937;
  font-size: 14px;
}

.canineos-booking-embed__modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 15, 30, 0.62);
}

.canineos-booking-embed__modal[hidden] {
  display: none;
}

.canineos-booking-embed__dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(900px, 94vh);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.canineos-booking-embed__dialog .canineos-booking-embed__frame {
  height: min(var(--canineos-booking-height, 760px), 88vh);
}

.canineos-booking-embed__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #273b87;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.canineos-booking-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .canineos-booking-embed__modal {
    padding: 0;
  }

  .canineos-booking-embed__dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }

  .canineos-booking-embed__dialog .canineos-booking-embed__frame {
    height: 100dvh;
  }
}
