/* styles/booking.css - Single-Step Booking Form Layout */

/* --- BOOKING LAYOUT --- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 80px;
}

@media (max-width: 992px) {
  .booking-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.summary-sticky {
  position: sticky;
  top: 104px; /* navbar offset */
  z-index: 10;
}

/* Single Step Form Card */
.booking-single-card {
  background-color: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius-card);
  transition: box-shadow 0.3s ease;
}

.form-section {
  display: flex;
  flex-direction: column;
}

/* --- STEP 4: DRAG FILE UPLOAD --- */
.upload-drag-zone {
  border: 2px dashed var(--border-grey);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
  background-color: var(--off-white);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-drag-zone:hover {
  border-color: var(--primary-blue);
  background-color: var(--sky-blue);
}

.upload-drag-zone i {
  color: var(--primary-blue);
}

/* --- SUCCESS SCREEN --- */
.success-screen {
  text-align: center;
  padding: 56px 0;
  max-width: 600px;
  margin: 0 auto;
}

.checkmark-circle-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  animation: popSuccess 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popSuccess {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.checkmark-circle-wrapper i {
  color: var(--success-green);
  stroke-width: 2.5px;
}

/* Interactive Alert Animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Phone Input Group with Country Code & Flag */
.phone-input-group {
  display: flex;
  position: relative;
  border-radius: var(--radius-btn);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.country-code-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--off-white);
  border: 1.5px solid var(--border-grey);
  border-right: none;
  border-radius: var(--radius-btn) 0 0 var(--radius-btn);
  padding: 0 6px 0 10px;
  min-width: 140px;
  max-width: 160px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.country-code-select {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep-navy);
  cursor: pointer;
  outline: none;
  padding: 10px 18px 10px 2px;
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-code-arrow {
  position: absolute;
  right: 8px;
  pointer-events: none;
  color: var(--text-grey);
  display: flex;
  align-items: center;
}

.phone-input-group .form-input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  flex: 1;
  border-left: 1.5px solid var(--border-grey);
}

.phone-input-group:focus-within .country-code-select-wrap {
  border-color: var(--primary-blue);
  background: #ffffff;
}

.phone-input-group:focus-within .form-input {
  border-color: var(--primary-blue);
}
