.cbp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 99999;
}

.cbp-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbp-modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
}

.cbp-modal .cbp-modal-title {
  color: var(--fs-color-primary) !important;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.cbp-lock {
  overflow: hidden !important;
}

.cbp-modal form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cbp-modal input,
.cbp-modal textarea,
.cbp-modal select {
  width: 100%;
  padding: 12px;
  height: auto;
}

.cbp-close {
  position: absolute;
  right: -39px;
  top: -13px;
  border: none;
  background: none;
  font-size: 23px;
  cursor: pointer;
  color: black;
}

.cbp-hidden {
  display: none;
}

/* Popup message */
.cbp-message {
  display: none;

  margin-top: 16px;

  padding: 12px 14px;

  border-radius: 10px;

  font-size: 14px;

  font-weight: 500;
}

.cbp-message.success {
  background: #ecfdf3;

  color: #027a48;

  border: 1px solid #abefc6;
}

.cbp-message.error {
  background: #fef3f2;

  color: #b42318;

  border: 1px solid #fecdca;
}

#cbp-booking-form button.cb-loading {
  opacity: 0.7;

  pointer-events: none;
}

/* SPINNER */
#cbp-booking-form button {
  position: relative;

  transition: all 0.2s ease;
}

#cbp-booking-form button.cb-loading {
  pointer-events: none;

  opacity: 0.8;
}

#cbp-booking-form button.cb-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--fs-color-secondary);
  border-top-color: white;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 8px);
  right: 12px;
  animation: cbp-spin 0.7s linear infinite;
}

@keyframes cbp-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
