/* ===== Quotation Wizard Styles ===== */

/* Wizard Section */
.wizard-section {
  min-height: 100vh;
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.wizard-header {
  text-align: center;
  margin-bottom: 40px;
}

.wizard-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.wizard-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Progress Bar */
.wizard-progress {
  max-width: 900px;
  margin: 0 auto 50px;
}

.progress-bar {
  height: 4px;
  background: var(--glass-border);
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 12.5%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.progress-step.active,
.progress-step.completed {
  opacity: 1;
}

.step-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: var(--bg-primary);
}

.progress-step.completed .step-number {
  background: var(--success);
  border-color: transparent;
  color: white;
}

.wizard-progress .step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  position: static;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.wizard-progress .progress-step.active .step-label {
  color: var(--text-primary);
}

/* Wizard Form */
.wizard-form {
  max-width: 900px;
  margin: 0 auto;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

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

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

.step-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.step-header {
  text-align: center;
  margin-bottom: 35px;
}

.step-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(136, 0, 255, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.step-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-header p {
  color: var(--text-muted);
}

/* Option Cards */
.option-grid {
  display: grid;
  gap: 16px;
}

.option-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.option-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.option-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-content {
  padding: 24px;
  background: var(--bg-secondary);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.option-card:hover .option-content {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
}

.option-card input:checked + .option-content {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(136, 0, 255, 0.1));
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

.option-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(136, 0, 255, 0.15));
  border-radius: 50%;
  transition: all 0.3s ease;
}

.option-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.option-card input:checked + .option-content .option-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.option-card input:checked + .option-content .option-icon i {
  color: var(--bg-primary);
}

.option-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.option-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Small Option Cards */
.option-card.small .option-content {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.option-icon.small {
  width: 40px;
  height: 40px;
  margin: 0;
  flex-shrink: 0;
}

.option-icon.small i {
  font-size: 1rem;
}

.option-card.small .option-content h4 {
  margin: 0;
}

/* Checkbox Cards */
.option-card.checkbox .option-content {
  position: relative;
}

.checkbox-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border: 2px solid var(--glass-border);
  border-radius: 6px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.checkbox-mark i {
  font-size: 0.75rem;
  color: var(--bg-primary);
}

.option-card.checkbox input:checked ~ .checkbox-mark {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
}

/* Form Sections */
.form-section {
  margin-top: 35px;
  padding-top: 35px;
  border-top: 1px solid var(--glass-border);
}

.form-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

/* Input Groups */
.input-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.input-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group.full {
  width: 100%;
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.text-input {
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.text-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

textarea.text-input {
  resize: vertical;
  min-height: 100px;
}

/* Number Input */
.number-input {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.number-input input {
  flex: 1;
  padding: 14px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  width: 60px;
}

.number-input input:focus {
  outline: none;
}

.num-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.num-btn:hover {
  background: var(--primary);
  color: var(--bg-primary);
}

/* Price Tag */
.price-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
}

/* Budget Note */
.budget-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 25px;
  padding: 16px 20px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--radius-md);
}

.budget-note i {
  color: #ffc107;
  font-size: 1.1rem;
  margin-top: 2px;
}

.budget-note p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Rooms Container */
.rooms-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.room-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(0, 212, 255, 0.05);
  border-bottom: 1px solid var(--glass-border);
  cursor: pointer;
}

.room-header h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.room-header h4 i {
  color: var(--primary);
}

.room-header .toggle-icon {
  transition: transform 0.3s ease;
}

.room-card.expanded .room-header .toggle-icon {
  transform: rotate(180deg);
}

.room-body {
  padding: 20px;
  display: none;
}

.room-card.expanded .room-body {
  display: block;
}

.room-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .room-inputs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.room-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.room-input label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.room-input .number-input {
  height: 44px;
}

.room-input .number-input input {
  padding: 10px;
}

.room-input label i {
  margin-right: 6px;
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.room-toggles-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.room-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.room-toggle:last-child {
  border-bottom: none;
}

.room-toggle span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-toggle span i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-switch::before {
  display: none !important;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch.active {
  background: var(--primary);
  border-color: var(--primary);
}

.toggle-switch.active::after {
  left: 23px;
  background: white;
}

/* Success Icon */
.success-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
  border-radius: 50%;
}

.success-icon i {
  font-size: 2.5rem;
  color: var(--success);
}

/* Quotation Summary */
.quotation-summary {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
}

.summary-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-border);
}

.summary-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-section:first-child {
  padding-top: 0;
}

.summary-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}

.summary-item .label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.summary-item .value {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-tag {
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(136, 0, 255, 0.1));
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.summary-total .label {
  font-size: 1.1rem;
  font-weight: 600;
}

.summary-total .value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quotation Actions */
.quotation-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Wizard Navigation */
.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
}

.wizard-navigation .btn {
  min-width: 140px;
}

#nextBtn {
  margin-left: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .progress-steps {
    display: none;
  }

  .wizard-header h1 {
    font-size: 2rem;
  }

  .input-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .wizard-section {
    padding: 100px 0 40px;
  }

  .wizard-header h1 {
    font-size: 1.75rem;
  }

  .step-content {
    padding: 24px;
  }

  .step-header h2 {
    font-size: 1.35rem;
  }

  .option-grid.cols-2,
  .option-grid.cols-3,
  .option-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .input-grid,
  .input-row {
    grid-template-columns: 1fr;
  }

  .room-inputs {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .quotation-actions {
    flex-direction: column;
  }

  .quotation-actions .btn {
    width: 100%;
  }

  .wizard-navigation {
    flex-direction: column;
    gap: 12px;
  }

  .wizard-navigation .btn {
    width: 100%;
  }

  #nextBtn {
    margin-left: 0;
    order: -1;
  }
}
