/*
Theme Name: Uncode Child
Template: uncode-child
*/

.hidden {
  display: none;
}

.vertical-layout {
  display: flex !important;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.horizontal-layout {
  display: flex !important;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.map-container {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

#map {
  height: 400px !important;
  width: 100%;
}

#map * {
  cursor: pointer;
}

#map.grabbing * {
  cursor: grabbing !important;
}

#addressInput {
  width: 750px;
  max-width: 100%;
  padding: 10px;
  font-size: 18px;
  background-color: white;
  border: 1px solid #ccc;
}

#addressInput:focus {
  border: 1px solid #ccc;
}

#zone-click-text {
  font-size: 20px;
  font-weight: bold;
  color: lightgreen;
}

.vehicle-info-container {
  flex: 1;
}

.load-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
}

.load-options-button {
  border: 1px solid #ccc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s;
  width: 104.77px;
}

.load-options-button.selected {
  box-shadow: inset 0 0 0 3px #2c6d42;
  border-color: #2c6d42 !important;
  background: #f8fbff;
}

.load-weight {
  font-weight: bold;
  font-size: 1.5em;
}

.load-price {
  font-size: 1.1em;
}

.zone-details {
  font-weight: bold;
  font-size: 1.1em;
  min-height: 1.5em;
}

.zone-price {
  font-weight: bold;
  font-size: 1.5em;
  min-height: 1.5em;
}

.total-order-container {
  display: flex;
  justify-content: flex-end;
  font-size: 1.5em;
  width: 100%;
}

.border {
  border-top: 1px solid;
  width: 100%;
  max-height: 1px !important;
}

/* calendar styles */
.calendar-wrapper {
  width: 100%;
}

.week-navigation {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 50px;
  margin: 24px 0px;
  font-weight: bold;
}

.week-nav-btn {
  flex: 1;
  text-align: center;
}

.week-nav-btn span {
  cursor: pointer;
}

.day-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* ← ЭТО самое важное! */
  text-align: center;
  /* ← И это тоже */
}

.day-of-week {
  font-size: 0.9em;
}

.day {
  font-size: 1.1em;
  font-weight: bold;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.time-slot {
  border: 1px solid #26af00;
  color: #26af00;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
  cursor: pointer;
}

.time-slot.selected {
  color: orange;
  border-color: orange;
}

.disabled {
  cursor: default;
  color: #ccc;
  border-color: #ccc;
}

/*calenday styles end */