/* ============================================================
   YOURSIDEFX — Booking System Styles
   ============================================================ */

.booking-page {
  min-height: 100vh;
  background: var(--bg-void);
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
}

/* ─────────────────────────────────────────
   BOOKING HEADER
   ───────────────────────────────────────── */
.booking-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.booking-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.booking-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.booking-header-text h1 {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.booking-header-text p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────
   PROGRESS STEPS
   ───────────────────────────────────────── */
.booking-progress {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.prog-step {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.prog-step:not(:last-child)::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--border-subtle);
  flex-shrink: 0;
  transition: background 0.4s;
}

.prog-step.completed:not(:last-child)::after {
  background: var(--gold);
}

.prog-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.4s var(--ease-smooth);
}

.prog-step.active .prog-num {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(201,168,76,0.2);
}

.prog-step.completed .prog-num {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bg-void);
}

.prog-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
}

.prog-step.active .prog-label {
  color: var(--gold);
}

/* ─────────────────────────────────────────
   BOOKING BODY
   ───────────────────────────────────────── */
.booking-body {
  flex: 1;
  padding: 60px 0 80px;
}

.booking-body .container {
  max-width: 860px;
}

/* ─────────────────────────────────────────
   FORM STEPS
   ───────────────────────────────────────── */
.form-step {
  display: none;
  animation: stepIn 0.4s var(--ease-cinematic) forwards;
}

.form-step.active {
  display: block;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes stepOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-30px); }
}

.step-header {
  margin-bottom: 48px;
}

.step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.step-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   SERVICE SELECTION (STEP 1)
   ───────────────────────────────────────── */
.service-select-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-select-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.service-select-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-select-card:hover::before,
.service-select-card.selected::before {
  opacity: 1;
}

.service-select-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-select-card.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
}

.service-select-icon {
  font-size: 28px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-select-name {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.service-select-card.selected .service-select-name {
  color: var(--gold-light);
}

.service-select-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.35;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.service-select-card.selected .service-select-sub {
  color: rgba(235, 205, 120, 0.85);
}

.service-select-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--bg-void);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s var(--ease-spring);
}

.service-select-card.selected .service-select-check {
  opacity: 1;
  transform: scale(1);
}

/* ─────────────────────────────────────────
   FORM FIELDS
   ───────────────────────────────────────── */
.form-group {
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-secondary);
  transition: all var(--duration-base);
  outline: none;
  appearance: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--border-accent);
  background: rgba(201,168,76,0.03);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a8a9a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* ─────────────────────────────────────────
   FILE UPLOAD (STEP 3)
   ───────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  background: var(--bg-input);
  position: relative;
  overflow: hidden;
}

.upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,168,76,0.04), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.upload-zone:hover,
.upload-zone.dragging {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.upload-zone:hover::before,
.upload-zone.dragging::before {
  opacity: 1;
}

.upload-icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--text-muted);
  display: block;
}

.upload-title {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.upload-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.upload-types {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.upload-type-badge {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.upload-files-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.upload-file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.upload-file-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.upload-file-info {
  flex: 1;
  min-width: 0;
}

.upload-file-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.upload-file-size {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.upload-file-progress {
  width: 100px;
  height: 3px;
  background: var(--border-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.upload-file-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-full);
  transition: width 0.3s var(--ease-smooth);
}

.upload-file-remove {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--duration-fast);
}

.upload-file-remove:hover {
  border-color: rgba(255, 80, 80, 0.4);
  color: rgba(255, 80, 80, 0.8);
}

/* ─────────────────────────────────────────
   BUDGET SECTION (STEP 4)
   ───────────────────────────────────────── */
.budget-ranges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.budget-range-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.budget-range-card:hover,
.budget-range-card.selected {
  border-color: var(--border-accent);
  background: var(--gold-dim);
}

.budget-range-card.selected {
  box-shadow: 0 0 16px rgba(201,168,76,0.15);
}

.budget-amount {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.budget-range-card.selected .budget-amount {
  color: var(--gold);
}

.budget-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.priority-select {
  display: flex;
  gap: 12px;
}

.priority-opt {
  flex: 1;
  padding: 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.priority-opt:hover,
.priority-opt.selected {
  border-color: var(--border-accent);
}

.priority-icon { font-size: 18px; margin-bottom: 6px; }
.priority-name {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.priority-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.priority-opt.selected { background: var(--gold-dim); }

/* ─────────────────────────────────────────
   REVIEW STEP (STEP 6)
   ───────────────────────────────────────── */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
}

.review-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.review-section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.review-edit-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.review-edit-btn:hover { background: var(--gold-dim); }

.review-fields {
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.review-field-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.review-field-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ─────────────────────────────────────────
   CONFIRMATION SCREEN
   ───────────────────────────────────────── */
.confirmation-screen {
  display: none;
  text-align: center;
  padding: 80px 0;
  animation: fadeIn 0.6s var(--ease-cinematic) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.confirmation-screen.visible { display: block; }

.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(107,223,152,0.3);
  background: rgba(107,223,152,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 32px;
  box-shadow: 0 0 40px rgba(107,223,152,0.1);
  animation: confirmPulse 2s ease-in-out infinite;
}

@keyframes confirmPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(107,223,152,0.1); }
  50% { box-shadow: 0 0 60px rgba(107,223,152,0.2); }
}

.confirmation-title {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.confirmation-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.project-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--gold-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  margin-bottom: 48px;
}

.project-id-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.project-id-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ─────────────────────────────────────────
   BOOKING NAVIGATION BUTTONS
   ───────────────────────────────────────── */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.step-nav-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────
   RESPONSIVE — BOOKING
   ───────────────────────────────────────── */
@media (max-width: 900px) {
  .service-select-grid { grid-template-columns: repeat(2, 1fr); }
  .budget-ranges { grid-template-columns: repeat(2, 1fr); }
  .booking-progress { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .review-fields { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .service-select-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .priority-select { flex-direction: column; }
  .upload-zone { padding: 40px 24px; }
}
