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

:root {
  --main-color: #777;
}

.step-header {
  width: 100%;
  margin-bottom: 10px;
  margin-top: 10px;
  border-bottom: 1px solid;
}

.step-title {
  text-align: left;
  font-weight: bolder;
  font-size: 24px;
}

.hidden {
  display: none;
}

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

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

.radio-button {
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
}

.map-container {
  width: 100%;
  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: 100%;
  max-width: 100%;
  padding: 10px;
  margin: 0;
  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 {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

.load-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  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;
  flex-direction: row;
  font-size: 1.5em;
  width: 100%;
  gap: 8px;
}

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

/* calendar styles */
.calendar-wrapper {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.calendar-inner {
  width: 100%;
  max-width: 800px;
}

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

.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;
  overflow: hidden;
}

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

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

.calendar-grid {
  width: 100%;
  /* чтобы на больших экранах не растягивалось бесконечно */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.time-slot {
  /* border: 1px solid #26af00; */
  /* color: grey; */
  font-weight: 400;
  border-radius: 8px;
  text-align: center;
  vertical-align: center;
  padding: 8px 0px;
}

.selected {
  color: #26af00;
  border-color: #26af00;
  font-weight: bolder;
  /* box-shadow: inset 0 0 0 2px green; */
}

.disabled {
  cursor: default;
  color: #cccccc;
  border-color: #ccc;
  font-weight: normal;
}

/*calendar styles end */

@media (max-width: 959px) {
  .horizontal-layout {
    flex-direction: column;
  }

  .load-options-button {
    flex: 1;
    width: auto;
  }

  .calendar-grid {
    width: 100%;
  }
}

/* cart form styles */
#cart-button-placeholder {
  display: flex;
  justify-content: right;
  width: 100%;
}

div.uncont form.cart {
  display: none !important;
}

#cart-button-placeholder form.cart {
  display: block !important;
}

#cart-button-placeholder .quantity {
  display: none !important;
}