.ns4u-booking .sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

.ns4u-booking .font-bold {
  font-weight: 600;
}

.ns4u-booking .uppercase {
  text-transform: uppercase;
}

.ns4u-booking {
  font-family: "Raleway", system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.ns4u-booking-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  margin-top: 48px;
  background-color: white;
  border-radius: 8px;
  /* box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.2); */
  z-index: 1001;
  width: 90%;
  max-width: 650px;
  padding: 24px 10px;
  font-family: "Raleway", system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (min-width: 768px) {
  .ns4u-booking-modal {
    padding: 24px;
  }
}

.ns4u-booking-modal.active {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 29, 29, 0.3);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
}

.modal-overlay.active {
  display: block;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 12px;
  text-align: center;
}

.modal-headings {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  background-color: #fff;
  padding: 4px 0px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 14px;
  text-align: center;
}

.room-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}

.room-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.room-cell-text {
  justify-content: flex-start;
  gap: 8px;
}

.room-cell button {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.room-cell button:hover:not(:disabled) {
  background-color: #f3f4f6;
}

.room-cell button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.room-cell svg {
  width: 20px;
  height: 20px;
}

.add-room-row {
  margin-top: 20px;
  text-align: center;
  padding-top: 16px;
}

.add-room {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #002f61;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 24px;
  transition: background-color 0.2s;
}

.add-room:hover {
  background-color: #eff6ff;
}

.ns4u-booking-dates {
  display: flex;
  background: white;
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  justify-content: center;
}

@media (min-width: 768px) {
  .ns4u-booking-dates {
    justify-content: flex-start;
  }
}

.ns4u-booking-date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-family: "Raleway", system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.ns4u-booking-start-date {
  border-right: 1px solid #002f61;
  padding-right: 24px;
}

.ns4u-booking-date-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: #002f61;
}

@media (min-width: 768px) {
  .ns4u-booking-date-number {
    font-size: 2.2rem;
  }
}

.rooms.button {
  display: block;
  /* width: 100%; */
  text-align: center;
  padding: 12px;
  background: #fff;
  color: #002f61;
  border: 1px solid #002f61;
  cursor: pointer;
  font-family: "Raleway", system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (min-width: 768px) {
  .rooms.button {
    text-align: left;
  }
}

.ns4u-booking .check {
  background-color: #002f61;
  color: white;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 600;
  /* width: 100%; */
  font-family: "Raleway", system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.ns4u-booking .check:hover {
  background-color: #002f61;
  color: white;
}

.daterangepicker {
  z-index: 1002 !important;
}

body.daterangepicker-open {
  /* overflow: hidden; */
}

.ns4u-booking {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .ns4u-booking {
    flex-direction: row;
  }
}

div.daterangepicker td.active,
div.daterangepicker td.active:hover {
    background-color: #002f61;
    border-color: transparent;
    color: #fff;
}

div.daterangepicker .calendar-table th,
div.daterangepicker .calendar-table td {
  padding: 2px;
}

.daterangepicker .drp-buttons button,
.daterangepicker .drp-buttons .btn {
  border: 1px solid #002f61;
  background-color: #fff;
  color: #002f61;
  border-radius: 3px;
  cursor: pointer;
}

.daterangepicker .drp-buttons .applyBtn {
  color: #fff;
  background-color: #002f61;
}

.ns4u-booking-date .flex {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.daterangepicker {
  position: fixed;
  top: 0 !important;
  left: 50% !important;
  transform: translate(-50%, 0) !important;
  margin-top: 48px !important;
}

div.daterangepicker:before,
div.daterangepicker:after {
  display: none;
  content: none;
}

.daterangepicker.show-calendar .drp-buttons {
    display: flex !important;
    width: 100%;
    align-items: center;
}

@media (min-width: 768px) {
  .daterangepicker.show-calendar .drp-buttons {
    display: block !important;
    width: auto;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.modal-header .modal-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.close-modal {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: #666;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.close-modal:hover {
  background-color: #f3f4f6;
}

/* Error message */
.error-message {
  background-color: #fee2e2;
  color: #dc2626;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  display: none;
}

.error-message.active {
  display: block;
}

/* Modal footer με κουμπιά */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e3e3e3;
}

.modal-footer button {
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.cancel-btn {
  background: white;
  border: 1px solid #002f61;
  color: #002f61;
}

.cancel-btn:hover {
  background: #f3f4f6;
}

.apply-btn {
  background: #002f61;
  border: 1px solid #002f61;
  color: white;
}

.apply-btn:hover {
  background: #004080;
}