.cbr-widget {
  max-width: 760px;
  margin: 2rem auto;
  font-family: inherit;
}

.cbr-card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.cbr-title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.cbr-intro {
  margin: 0 0 1rem;
}

.cbr-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}

.cbr-month-label {
  font-weight: 700;
  text-transform: capitalize;
  font-size: 1.1rem;
}

.cbr-nav {
  width: 42px;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.cbr-nav:hover,
.cbr-day:not(:disabled):hover {
  background: #f3f4f6;
}

.cbr-weekdays,
.cbr-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.cbr-weekdays span {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6b7280;
}

.cbr-days {
  margin-top: 0.45rem;
}

.cbr-day {
  min-height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
}

.cbr-day-empty {
  border: 0;
  background: transparent;
}

.cbr-day:disabled {
  cursor: not-allowed;
  color: #9ca3af;
  background: #f3f4f6;
  text-decoration: line-through;
}

.cbr-day.is-arrival,
.cbr-day.is-departure {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  text-decoration: none;
}

.cbr-day.is-range {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.cbr-summary {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #f9fafb;
}

.cbr-message,
.cbr-selection,
.cbr-price,
.cbr-direct-wrap {
  margin: 0.25rem 0;
}

.cbr-price {
  font-weight: 700;
  font-size: 1.15rem;
}

.cbr-cta {
  display: none;
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  font: inherit;
}

.cbr-cta.is-visible {
  display: inline-block;
}

.cbr-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cbr-direct-wrap {
  display: none;
  font-size: 0.9rem;
}

.cbr-direct-wrap.is-visible {
  display: block;
}

.cbr-direct-link {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .cbr-card {
    padding: 1rem;
  }

  .cbr-day {
    min-height: 40px;
    border-radius: 10px;
  }

  .cbr-weekdays span {
    font-size: 0.75rem;
  }
}
