/* assets/css/vr-tour-schedule.css */

/* Main Section */
.vr-tour-schedule-section {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 1rem;
}

@media (max-width: 768px) {
  .vr-tour-schedule-section {
    padding: 0.5rem;
    margin-top: 2rem;
  }
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.line-text-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.line-text-container hr {
  flex: 1;
  border: none;
  border-top: 2px solid;
  opacity: 0.8;
}

.line-text-container h2 {
  white-space: nowrap;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 1.25rem;
  text-align: center;
}

/* Schedule Container */
.schedule-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0 1.25rem 0;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
}

/* Month Selector */
.month-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  user-select: none;
  margin: 0.5rem 0;
}

.month-nav-btn {
  background-color: #f3f3f3;
  color: #4b5563;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.month-nav-btn:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.month-nav-btn:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
}

.month-nav-btn i {
  width: 25px;
  height: 25px;
}

.month-display {
  background-color: #f3f3f3;
  padding: 0.25rem 1.5rem;
  text-align: center;
  width: 200px;
}

.month-display span {
  font-weight: 600;
}

/* Date Slider Container */
.date-slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  width: 100%;
  padding: 0 0.5rem;
  user-select: none;
}

.slider-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.slider-nav-btn i {
  width: 35px;
  height: 35px;
  color: #0b2e1a;
}

/* Date Slider */
.date-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0.75rem;
  width: 100%;
  scroll-behavior: smooth;
}

.date-slider::-webkit-scrollbar {
  display: none;
}

.date-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Date Item */
.date-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 122px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.2s;
}

.date-weekday {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #000;
}

.date-item.selected .date-weekday {
  font-weight: 700;
  color: #1a1a1a;
}

.date-number {
  margin-top: 0.25rem;
  font-size: 1.875rem;
  font-weight: 700;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
  color: #000;
  transition: all 0.2s;
}

.date-item.selected .date-number {
  background-color: #1a1a1a;
  color: white;
}

.date-caret {
  position: absolute;
  bottom: -28px;
  z-index: 40;
  display: none;
}

.date-item.selected .date-caret {
  display: block;
}

/* Time Slots Container */
.time-slots-container {
  display: flex;
  margin-top: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-radius: 0.75rem;
  border: 2px solid;
  overflow-x: auto;
  padding: 0.5rem 0;
  z-index: 10;
}

.time-slots-container::-webkit-scrollbar {
  display: none;
}

.time-slot-column {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 7rem;
  padding: 0 1rem;
  border-right: 1px solid;
  min-width: 150px;
}

.time-slot-column:last-child {
  border-right: none;
}

.time-slot-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  border-radius: 1.5rem;
  padding: 0.625rem 1.5rem;
  margin: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: #f3f3f3;
  /* color: #000; */
  border: none;
  transition: all 0.2s;
  margin-bottom: 0;
}

.time-slot-btn:last-child {
  margin-bottom: 0;
}

.time-slot-btn.selected {
  background-color: #1a1a1a;
  color: white;
}

.time-slot-btn:hover:not(.selected) {
  background-color: #e5e7eb;
}

/* Selection Summary */
.selection-summary {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
}

.summary-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0b2e1a;
}

.summary-title .highlight {
  font-weight: 700;
}

.summary-subtitle {
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b7280;
  margin-top: 0.25rem;
}

.summary-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.detail-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
}

/* Schedule Form Section */
.schedule-form-section {
  border: 2px solid;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  margin-top: 1.25rem;
  gap: 1rem;
  width: 100%;
}

.schedule-form-section h2 {
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  width: 100%;
}

.schedule-form {
  display: flex;
  width: 100%;
  max-width: 28rem;
}

.form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  width: 100%;
  position: relative;
}

/* Country Select */
.country-select {
  appearance: none;
  border-radius: 0.5rem 0 0 0.5rem;
  /* padding: 0.5rem; */
  font-weight: 600;
  border: 2px solid;
  font-size: 0.9375rem;
  outline: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232a4a3f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem !important;
}

/* Phone Input */
.input-container {
  position: relative;
  flex-grow: 1;
}

.phone-input {
  appearance: none;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border-top: 2px solid;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-left: none;
  border-radius: 0 0.5rem 0.5rem 0;
  outline: none;
}

.phone-input::placeholder {
  color: rgba(42, 74, 63, 0.5) !important;
}

/* Remove number input arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button,
input[type="tel"]::-webkit-inner-spin-button,
input[type="tel"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* input[type="number"],
input[type="tel"] {
  -moz-appearance: textfield;
} */

/* Submit Buttons */
.submit-btn {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  padding: 0.7rem 1.25rem !important;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
}

.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn i {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.desktop-btn {
  display: none;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.mobile-btn {
  margin-top: 0.75rem;
  justify-content: center;
  width: 100%;
}

/* Responsive Styles */
@media (min-width: 640px) {
  .summary-title {
    font-size: 1.125rem;
  }

  .summary-subtitle {
    font-size: 1rem;
  }

  .summary-details {
    flex-direction: row;
    gap: 1rem;
    font-size: 1rem;
  }

  .schedule-form-section h2 {
    font-size: 1.25rem;
    text-align: left;
  }

  .country-select,
  .phone-input {
    padding: 0.75rem;
  }

  .submit-btn {
    padding: 0.875rem 1.25rem;
  }
}

@media (min-width: 768px) {
  .phone-input {
    padding-right: 8rem;
  }

  .desktop-btn {
    display: flex;
  }

  .mobile-btn {
    display: none;
  }

  .schedule-form-section {
    flex-direction: row;
    padding: 0.5rem 1.5rem;
    gap: 0;
  }

  .schedule-form-section h2 {
    width: auto;
  }
}

/* ========================
   VR TOUR FORM – FORCE PLACEHOLDER & TEXT COLOR
   ======================== */

/* Target only VR Tour form */
.schedule-form-section .country-select {
  color: #1a1a1a !important;
  background-color: transparent !important;
}

/* Phone input text and placeholder */
.schedule-form-section .phone-input {
  color: #1a1a1a !important;
}

.schedule-form-section .phone-input::placeholder {
  color: rgba(42, 74, 63, 0.6) !important;
  opacity: 1 !important;
}

/* Browser-specific placeholder fixes */
.schedule-form-section .phone-input::-webkit-input-placeholder {
  color: rgba(42, 74, 63, 0.6) !important;
}
.schedule-form-section .phone-input::-moz-placeholder {
  color: rgba(42, 74, 63, 0.6) !important;
  opacity: 1 !important;
}
.schedule-form-section .phone-input:-ms-input-placeholder {
  color: rgba(42, 74, 63, 0.6) !important;
}
