.vsr-app {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
}

.vsr-calendar-panel,
.vsr-card {
  background-color: #fff !important;
  border: 1px solid #d9d4cb;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(31, 30, 28, 0.08);
}

.vsr-calendar-panel {
  padding: 24px;
}

.vsr-calendar-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.vsr-month-title {
  color: #2e2a24;
  font-size: 1.5rem;
  margin: 0;
  text-transform: capitalize;
}

.vsr-nav-button,
.vsr-button,
.vsr-slot,
.vsr-day {
  appearance: none;
  border: 0;
  font: inherit;
}

.vsr-nav-button,
.vsr-button,
.vsr-slot {
  cursor: pointer;
}

.vsr-nav-button {
  background-color: #efe7d8!important;
  border-radius: 999px;
  color: #563f25;
  height: 40px;
  width: 40px;
}

.vsr-weekdays,
.vsr-calendar-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.vsr-weekdays {
  color: #7a7264;
  font-size: 0.85rem;
  margin-bottom: 10px;
  text-align: center;
}

.vsr-day {
  background-color: #f7f1e7 !important;
  border-radius: 14px;
  color: #2e2a24;
  min-height: 94px;
  padding: 10px;
  text-align: left;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.vsr-day:hover:not(:disabled) {
  box-shadow: 0 10px 24px rgba(31, 30, 28, 0.12);
  transform: translateY(-1px);
}

.vsr-day.is-empty {
  background-color: transparent !important;
  min-height: 0;
  padding: 0;
}

.vsr-day-number {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.vsr-day-status {
  display: block;
  font-size: 0.75rem;
  margin-top: 6px;
}

.vsr-day.is-selected {
  outline: 2px solid #d14d1f;
}

.vsr-day.is-available {
  background-color: #f7f1e7 !important;
}

.vsr-day.is-partial {
  background-color: #fff3d4 !important;
}

.vsr-day.is-pending_payment {
  background-color: #ffe3bf !important;
}

.vsr-day.is-reserved {
  background-color: #ffd1cb !important;
}

.vsr-day.is-blocked {
  background-color: #e6e1d8 !important;
}

.vsr-day.is-holiday {
  background-color: #e9f1df !important;
}

.vsr-sidebar {
  display: grid;
  gap: 16px;
}

.vsr-card {
  padding: 20px;
}

.vsr-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.vsr-legend-item {
  align-items: center;
  color: #675e50;
  display: inline-flex;
  gap: 8px;
}

.vsr-dot {
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.vsr-dot-available { background-color: #c6b28d !important; }
.vsr-dot-partial { background-color: #f2c25f !important; }
.vsr-dot-pending { background-color: #e89b3a !important; }
.vsr-dot-reserved { background-color: #d45d47 !important; }
.vsr-dot-blocked { background-color: #8d877d !important; }

.vsr-slots {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.vsr-slot {
  background-color: #f7f1e7 !important;
  border-radius: 12px;
  color: #2e2a24;
  padding: 12px 14px;
  text-align: left;
}

.vsr-slot.is-selected {
  background-color: #d14d1f !important;
  color: #fff;
}

.vsr-slot:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.vsr-form {
  display: grid;
  gap: 14px;
}

.vsr-form label span {
  color: #5f584d;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.vsr-form input,
.vsr-form textarea {
  border: 1px solid #d8cfbf;
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
}

.vsr-button {
  background-color: #7f2d16 !important;
  border-radius: 999px;
  color: #fff;
  padding: 12px 18px;
  text-align: center;
}

.vsr-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.vsr-button-primary {
  background-color: #d14d1f !important;
}

.vsr-button-secondary {
  background-color: #6e6251 !important;
  margin-top: 10px;
}

.vsr-quote {
  display: grid;
  gap: 8px;
}

.vsr-quote-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.vsr-quote-row.is-total {
  border-top: 1px solid #e4dccf;
  padding-top: 8px;
}

.vsr-transfer-list {
  margin: 12px 0;
  padding-left: 18px;
}

.vsr-transfer-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.vsr-transfer-header h3 {
  margin: 0;
}

.vsr-transfer-close {
  background-color: transparent !important;
  border: 0;
  color: #7f2d16;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}

.vsr-whatsapp-button {
  align-items: center;
  background-color: #1f8f48 !important;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  text-decoration: none;
}

.vsr-whatsapp-button:hover,
.vsr-whatsapp-button:focus {
  background-color: #18743a !important;
  color: #fff;
}

.vsr-booking-item {
  border-top: 1px solid #e4dccf;
  padding: 14px 0;
}

.vsr-booking-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.vsr-booking-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.vsr-booking-status {
  color: #7f2d16;
  font-size: 0.9rem;
}

.vsr-booking-meta {
  color: #5f584d;
  font-size: 0.92rem;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .vsr-app {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .vsr-calendar-panel,
  .vsr-card {
    border-radius: 14px;
  }

  .vsr-calendar-panel {
    padding: 16px 12px;
  }

  .vsr-calendar-header {
    gap: 10px;
    margin-bottom: 14px;
  }

  .vsr-month-title {
    font-size: 1rem;
    text-align: center;
  }

  .vsr-nav-button {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
  }

  .vsr-weekdays,
  .vsr-calendar-grid {
    gap: 6px;
  }

  .vsr-weekdays {
    font-size: 0.72rem;
    margin-bottom: 6px;
  }

  .vsr-day {
    border-radius: 16px;
    min-height: 60px;
    padding: 8px 4px;
    text-align: center;
  }

  .vsr-day-number {
    font-size: 0.95rem;
  }

  .vsr-day-status {
    display: none;
  }

  .vsr-legend {
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
  }

  .vsr-legend-item {
    font-size: 0.82rem;
    gap: 6px;
  }

  .vsr-sidebar {
    gap: 12px;
  }

  .vsr-card {
    padding: 16px;
  }
}
