.nm-booking,
.nm-admin__card {
  background: #ffffff;
  border: 1px solid #e7dfd7;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(75, 59, 44, 0.08);
}

.nm-booking {
  margin: 40px 0;
  padding: 28px;
}

.nm-booking__intro h2 {
  margin: 0 0 10px;
  color: #7b6a58;
}

.nm-booking__intro p {
  margin: 0 0 22px;
}

.nm-booking__notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
}

.nm-booking__notice--success {
  background: #eff8ef;
  color: #2f6b3a;
}

.nm-booking__notice--error {
  background: #fff1ef;
  color: #9b3f35;
}

.nm-booking__slots {
  margin-bottom: 22px;
}

.nm-booking__slots-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.nm-booking__slots-head h3,
.nm-booking__slots-head p {
  margin: 0;
}

.nm-booking__date-picker,
.nm-admin__date-filter,
.nm-admin__quick-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nm-booking__date-picker,
.nm-admin__date-filter {
  margin-bottom: 18px;
}

.nm-booking__date-button,
.nm-admin__date-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid #d8c7b8;
  border-radius: 14px;
  background: #faf7f3;
  color: #5b4a3e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nm-booking__date-button small,
.nm-admin__date-button small {
  color: #8d7b6d;
  font-size: 12px;
}

.nm-booking__date-button.is-active,
.nm-booking__date-button:hover,
.nm-admin__date-button.is-active,
.nm-admin__date-button:hover {
  background: #9cbe9c;
  border-color: #9cbe9c;
  color: #ffffff;
}

.nm-booking__date-button.is-active small,
.nm-booking__date-button:hover small,
.nm-admin__date-button.is-active small,
.nm-admin__date-button:hover small {
  color: rgba(255, 255, 255, 0.9);
}

.nm-booking__day {
  display: none;
  margin-bottom: 18px;
}

.nm-booking__day.is-active,
.nm-admin__date-panel.is-active {
  display: block;
}

.nm-booking__day h4 {
  margin: 0 0 12px;
  color: #7b6a58;
}

.nm-booking__slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nm-booking__slot {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nm-booking__slot input {
  position: absolute;
  opacity: 0;
}

.nm-booking__slot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 16px;
  border: 1px solid #d8c7b8;
  border-radius: 999px;
  background: #faf7f3;
  color: #5b4a3e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nm-booking__slot input:checked + span,
.nm-booking__slot span:hover {
  background: #9cbe9c;
  border-color: #9cbe9c;
  color: #ffffff;
}

.nm-booking__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.nm-booking__field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: #5b4a3e;
}

.nm-booking__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8c7b8;
  border-radius: 12px;
  background: #fffdfb;
}

.nm-booking__submit {
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: #9cbe9c;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.nm-booking__empty {
  padding: 20px;
  border-radius: 12px;
  background: #faf7f3;
}

.nm-booking__chosen-date strong {
  color: #7b6a58;
}

.nm-admin__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.nm-admin__card {
  padding: 20px;
}

.nm-admin__card--full {
  margin-top: 18px;
}

.nm-admin__fieldset {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #e7dfd7;
  border-radius: 14px;
}

.nm-admin__quick-dates {
  margin-bottom: 10px;
}

.nm-admin__hour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.nm-admin__hour-option {
  position: relative;
  display: flex;
}

.nm-admin__hour-option input {
  position: absolute;
  opacity: 0;
}

.nm-admin__hour-option span {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8c7b8;
  border-radius: 12px;
  background: #faf7f3;
  color: #5b4a3e;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nm-admin__hour-option input:checked + span,
.nm-admin__hour-option span:hover {
  background: #9cbe9c;
  border-color: #9cbe9c;
  color: #ffffff;
}

.nm-admin__bulkbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 14px;
}

.nm-admin__bulkbar--split {
  align-items: center;
}

.nm-admin__date-panel {
  display: none;
}

.nm-admin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 782px) {
  .nm-booking__fields,
  .nm-admin__grid {
    grid-template-columns: 1fr;
  }

  .nm-booking {
    padding: 18px;
  }

  .nm-booking__slots-head {
    align-items: flex-start;
  }

  .nm-booking__date-button,
  .nm-admin__date-button {
    width: 100%;
  }
}
