/* Styles specific to form-copy.html */

/* Example styles for Step 2 */
.booking-section #step-2 .form-title {
  font-family: 'Givonic';
  font-weight: 750;
  font-size: 48px;
  color: #D7C9AE;
}

.booking-section #step-2 .quantity-field {
  background-color: #2D2D2D;
  border: 1px solid #A68763;
  border-radius: 16px;
  box-shadow: 2px 4px 8px rgba(45, 45, 45, 0.4);
}

.booking-section #step-2.standard-form-step-2 .field-label {
  font-family: 'Givonic';
  font-weight: 450;
  font-size: 16px;
  color: #FFFFFF;
}

.booking-section #step-2.standard-form-step-2 .field-input {
  background: none;
  border: none;
  outline: none;
  color: #D7C9AE;
  font-family: 'Givonic';
  font-weight: 750;
  font-size: 18px;
  line-height: 1.1;
  width: 100%;
}

.booking-section #step-2.standard-form-step-2 .field-input::placeholder {
  color: #4A4A4A;
  font-weight: 450;
}

/* Step 2 Main Layout Styles */
.booking-section #step-2.standard-form-step-2 {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  padding: 20px;
  width: 100%;
}

.booking-section #step-2.standard-form-step-2 .step-title {
  font-family: Givonic;
  font-weight: 450;
  font-size: 40px;
  line-height: 1.1em;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

.booking-section #step-2.standard-form-step-2 .step-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* Pallet quantity section */
.booking-section #step-2.standard-form-step-2 .pallet-quantity-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 660px;
}

.booking-section .standard-form-step-2 .pallet-quantity-label {
  font-family: Givonic;
  font-weight: 450;
  font-size: 16px;
  line-height: 1.1em;
  color: #FFFFFF;
  margin: 0;
}

.booking-section .standard-form-step-2 .pallet-quantity {
  background-color: #2D2D2D;
  border: 1px solid #A68763;
  box-shadow: 2px 4px 8px 0px rgba(45, 45, 45, 0.4);
  border-radius: 16px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.booking-section .standard-form-step-2 .pallet-quantity input {
  font-family: Givonic;
  font-weight: 750;
  font-size: 18px;
  line-height: 1.1em;
  color: #D7C9AE;
  background-color: transparent;
  border: none;
  width: 100%;
  text-align: left;
  outline: none;
}

.booking-section .standard-form-step-2 .pallet-quantity span {
  font-family: Givonic;
  font-weight: 750;
  font-size: 18px;
  line-height: 1.1em;
  color: #D7C9AE;
}

/* Time period selection container */
.booking-section #step-2.standard-form-step-2 .time-period-container {
  display: flex;
  gap: 32px;
  align-self: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

/* Time period buttons */
.booking-section #step-2.standard-form-step-2 .time-period-option {
  background-color: #2D2D2D;
  border: 1px solid #4A4A4A;
  box-shadow: 2px 4px 8px 0px rgba(45, 45, 45, 0.4);
  border-radius: 16px;
  width: 200px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.booking-section #step-2.standard-form-step-2 .time-period-option:hover {
  border-color: #A68763;
  transform: translateY(-2px);
}

.booking-section #step-2.standard-form-step-2 .time-period-option.selected {
  background-color: #A68763;
  border-color: #D7C9AE;
}

.booking-section #step-2.standard-form-step-2 .time-period-option input[type="radio"] {
  display: none;
}

.booking-section #step-2.standard-form-step-2 .time-period-option label {
  font-family: Givonic;
  font-weight: 450;
  font-size: 20px;
  line-height: 1.1em;
  color: #4A4A4A;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-section #step-2.standard-form-step-2 .time-period-option.selected label,
.booking-section #step-2.standard-form-step-2 .time-period-option.custom label {
  font-weight: 750;
  color: #2D2D2D;
}

.booking-section #step-2.standard-form-step-2 .time-period-option.custom {
  background-color: #A68763;
  border-color: #D7C9AE;
}

/* Custom date range section */
.booking-section #step-2.standard-form-step-2 .custom-date-section {
  display: none; /* Hidden by default */
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Show custom date section when explicitly shown via JavaScript */
.booking-section #step-2.standard-form-step-2 .custom-date-section.show {
  display: flex;
}

/* Date Picker Modal Styles - Updated to match Figma */
.date-picker-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.date-picker-overlay {
  background: transparent;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.booking-section .standard-form-step-2 .date-picker-container {
  background: #2D2D2D;
  border: 1px solid #4A4A4A;
  border-radius: 24px;
  padding: 20px;
  width: 100%;
  max-width: 652px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 2px 4px 8px 0px rgba(45, 45, 45, 0.4);
}

.booking-section .standard-form-step-2 .date-picker-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 660px;
}

.booking-section .standard-form-step-2 .date-picker-title {
  font-family: Givonic;
  font-weight: 750;
  font-size: 18px;
  line-height: 1em;
  color: #FFFFFF;
  margin: 0;
}

.date-picker-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Dual Calendar Layout */
.dual-calendar-container {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.calendar-month {
  flex: 1;
  background: #D7C9AE;
  border: 1px solid #4A4A4A;
  border-radius: 16px;
  padding: 16px;
  min-width: 280px;
}

.calendar-header {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.month-year-selectors {
  display: flex;
  gap: 12px;
  align-items: center;
}

.month-selector,
.year-selector {
  position: relative;
  display: flex;
  align-items: center;
  background: #2D2D2D;
  border: 1px solid #D7C9AE;
  border-radius: 24px;
  padding: 8px 8px 8px 16px;
  gap: 4px;
}

.month-selector select,
.year-selector select {
  appearance: none;
  background: transparent;
  border: none;
  font-family: Givonic;
  font-weight: 450;
  font-size: 14px;
  line-height: 1.4285714285714286em;
  color: #D7C9AE;
  padding-right: 4px;
  cursor: pointer;
  outline: none;
  padding: 0;
}

.booking-section .standard-form-step-2 .month-selector svg,
.booking-section .standard-form-step-2 .year-selector svg {
  position: absolute;
  right: 0;
  pointer-events: none;
}

.calendar-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weekday-headers {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.weekday {
  text-align: center;
  font-family: Givonic;
  font-weight: 750;
  font-size: 12px;
  line-height: 1.5em;
  color: #2D2D2D;
  padding: 8px 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.weekday.holiday {
  color: #DB0015;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 0;
}

.calendar-date {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Givonic;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.1000000635782878em;
  color: #2D2D2D;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 8px;
  padding: 16px 8px;
}

.calendar-date:hover {
  background: rgba(45, 45, 45, 0.1);
}

.calendar-date.empty {
  cursor: default;
  color: transparent;
}

.calendar-date.holiday {
  color: #DB0015;
  padding: 8px;
}

.calendar-date.today {
  background: #A68763;
  color: #2D2D2D;
  font-weight: 600;
}

.calendar-date.selected {
  background: #A68763;
  color: #2D2D2D;
  border: 1px solid #2D2D2D;
  border-right: none;
  border-radius: 24px 0px 0px 24px;
}

.date-picker-modal .calendar-date.selected {
	border-radius: 0;
	border-right: 1px solid #2D2D2D;
}

.calendar-date.in-range + .calendar-date.selected {
  background: #A68763;
  color: #2D2D2D;
  border: 1px solid #2D2D2D;
  border-left: none;
  border-radius: 0px 24px 24px 0px;
}

.calendar-date.in-range {
  background: #A68763;
  color: #2D2D2D;
  border-top: 1px solid #2D2D2D;
  border-bottom: 1px solid #2D2D2D;
}

.calendar-date.range-start {
  background: #A68763;
  color: #2D2D2D;
  border: 1px solid #2D2D2D;
  border-right: none;
  border-radius: 24px 0px 0px 24px;
}

.calendar-date.range-end {
  background: #A68763;
  color: #2D2D2D;
  border: 1px solid #2D2D2D;
  border-left: none;
  border-radius: 0px 24px 24px 0px;
}

.calendar-date.single-range {
  background: #A68763;
  color: #2D2D2D;
  font-weight: 600;
  border: 1px solid #2D2D2D;
  border-radius: 24px;
}

/* Date Picker Bottom Section */
.date-picker-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #4A4A4A;
  width: 100%;
}

.booking-section .step-indicator:has(.step-item:nth-child(7).active) .step-divider:nth-child(6){
  display: none;
}

.booking-section .step-indicator:has(.step-item:nth-child(9).active) .step-divider:nth-child(8){
  display: block;
}

.selected-range-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-range-inputs {
  display: flex;
  align-items: center;
  gap: 2px;
}

.date-input-item {
  border: 1px solid #4A4A4A;
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
}

.date-input-item span {
  font-family: Givonic;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.1000000408717565em;
  color: #A68763;
  text-align: center;
}

.selected-text {
  font-family: Givonic;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.1000000408717565em;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
}

.date-picker-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.date-picker-actions .btn-cancel {
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 8px 32px;
  font-family: Givonic;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.1000000408717565em;
  color: #A68763;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.date-picker-actions .btn-save {
  background: #A68763;
  border: none;
  border-radius: 12px;
  padding: 11px 32px;
  font-family: Givonic;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.1000000408717565em;
  color: #2D2D2D;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  box-shadow: 1px 2px 10px 0px rgba(18, 18, 18, 0.1);
}

.date-picker-actions .btn-cancel:hover {
  border-color: #A68763;
}

.date-picker-actions .btn-save:hover {
  background: #D7C9AE;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 768px) {
  .booking-section #step-2.standard-form-step-2 {
    gap: 48px;
    padding: 16px;
  }

  .booking-section #step-2.standard-form-step-2 .step-title {
    font-size: 32px;
  }

  .booking-section #step-2.standard-form-step-2 .step-container {
    gap: 48px;
  }

  .booking-section .standard-form-step-2 .pallet-quantity-section {
    max-width: 100%;
  }

  .booking-section .standard-form-step-2 .time-period-container {
    gap: 16px;
    justify-content: center;
  }

  .booking-section .standard-form-step-2 .time-period-option {
    width: 160px;
    height: 120px;
  }

  .booking-section .standard-form-step-2 .time-period-option label {
    font-size: 18px;
  }

  .booking-section .standard-form-step-2 .date-picker-container {
    padding: 16px;
    max-width: 100%;
    gap: 20px;
  }

  .dual-calendar-container {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .calendar-month {
    min-width: unset;
    padding: 12px;
  }

  .month-year-selectors {
    gap: 8px;
  }

  .month-selector,
  .year-selector {
    padding: 6px 6px 6px 12px;
    font-size: 12px;
  }

  .weekday-headers {
    gap: 2px;
  }

  .weekday {
    font-size: 10px;
    padding: 6px 1px;
  }

  .calendar-days {
    gap: 2px;
  }

  .calendar-date {
    height: 28px;
    font-size: 11px;
    padding: 12px 6px;
  }

  .date-picker-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .selected-range-display {
    align-items: center;
  }

  .date-picker-actions {
    justify-content: center;
  }

  .date-picker-actions .btn-cancel,
  .date-picker-actions .btn-save {
    flex: 1;
    text-align: center;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .booking-section #step-2.standard-form-step-2 {
    gap: 32px;
    padding: 12px;
  }

  .booking-section #step-2.standard-form-step-2 .step-title {
    font-size: 28px;
  }

  .booking-section #step-2.standard-form-step-2 .step-container {
    gap: 32px;
  }

  .booking-section .standard-form-step-2 .time-period-container {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .booking-section .standard-form-step-2 .time-period-option {
    width: 280px;
    height: 100px;
  }

  .booking-section .standard-form-step-2 .time-period-option label {
    font-size: 16px;
  }

  .booking-section .standard-form-step-2 .date-picker-container{
    padding: 12px;
    border-radius: 20px;
    gap: 16px;
  }

  .calendar-month {
    padding: 8px;
    border-radius: 12px;
  }

  .month-year-selectors {

    gap: 6px;
  }

  .month-selector,
  .year-selector {
    padding: 4px 4px 4px 8px;
    font-size: 11px;
  }

  .weekday {
    font-size: 9px;
    padding: 4px 1px;
  }

  .calendar-date {
    height: 24px;
    font-size: 10px;
    padding: 8px 4px;
  }

  .date-picker-bottom {
    gap: 12px;
  }

  .date-input-item {
    padding: 6px 8px;
  }

  .date-input-item span {
    font-size: 12px;
  }

  .selected-text {
    font-size: 12px;
  }

  .date-picker-actions {
    flex-direction: column;
  }

  .date-picker-actions .btn-cancel,
  .date-picker-actions .btn-save {
    width: 100%;
    padding: 12px 24px;
    font-size: 13px;
  }
}

/* Large Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
  .booking-section .standard-form-step-2 .dual-calendar-container {
    gap: 20px;
  }

  .booking-section .standard-form-step-2 .calendar-month {
    min-width: 240px;
  }

  .booking-section .standard-form-step-2 .time-period-container {
    gap: 24px;
    max-width: 900px;
    justify-content: center;
  }

  .booking-section .standard-form-step-2 .time-period-option {
    width: 180px;
    height: 130px;
  }
}

/* Desktop Large Styles */
@media (min-width: 1200px) {
  .booking-section .standard-form-step-2 .date-picker-container{
    max-width: 660px;
    padding: 20px;
  }

  .booking-section .standard-form-step-2 .dual-calendar-container {
    gap: 24px;
  }

 
  .booking-section .standard-form-step-2 .time-period-container {
    gap: 40px;

  }
} 