/* Returns & Exchanges Page Styles */

.returns-page {
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 70vh;
}

/* Page Heading */
.page-heading {
  text-align: center;
  margin-bottom: 40px;
}

.page-heading h1 {
  font-size: 36px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.page-heading p {
  font-size: 16px;
  color: #777;
  max-width: 500px;
  margin: 0 auto;
}

/* Step Indicator */
.returns-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.returns-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.returns-steps .step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #6c757d;
  font-size: 16px;
  transition: all 0.3s ease;
}

.returns-steps .step.active .step-number {
  background: var(--primary);
  color: white;
}

.returns-steps .step.completed .step-number {
  background: var(--primary);
  color: white;
}

.returns-steps .step-label {
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.returns-steps .step.active .step-label {
  color: var(--primary);
  font-weight: bold;
}

.returns-steps .step.completed .step-label {
  color: var(--primary);
}

.step-connector {
  flex: 1;
  height: 3px;
  background: #e9ecef;
  margin: 0 10px;
  margin-bottom: 25px;
  transition: background 0.3s ease;
}

.step-connector.active {
  background: var(--primary);
}

/* Form Section */
.form-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto 30px;
}

.form-section h2 {
  margin-bottom: 10px;
  color: #333;
  font-size: 22px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.form-description {
  font-size: 15px;
  color: #777;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  font-family: "Winky Rough", sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(71, 143, 7, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 25px;
}

/* Order Summary Section */
.order-summary-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto 30px;
}

.order-summary-section h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.order-summary-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.order-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.order-id-display {
  font-weight: bold;
  color: var(--primary);
  font-size: 15px;
}

.order-date-display {
  color: #777;
  font-size: 14px;
}

.summary-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
  border-bottom: 1px solid #f5f5f5;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #eee;
}

.summary-item-details {
  flex: 1;
}

.summary-item-name {
  font-weight: 600;
  color: #333;
  font-size: 15px;
  margin-bottom: 4px;
}

.summary-item-info {
  font-size: 13px;
  color: #777;
  margin-bottom: 4px;
}

.summary-item-price {
  font-weight: bold;
  color: var(--primary);
  font-size: 15px;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
  font-weight: bold;
  font-size: 16px;
}

/* Confirmation Section */
.confirmation-section {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 20px;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.confirmation-section h2 {
  font-size: 28px;
  color: var(--secondary);
  margin-bottom: 15px;
}

.confirmation-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.confirmation-details {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.confirmation-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 15px;
}

.confirmation-row:last-child {
  border-bottom: none;
}

.confirmation-value {
  font-weight: bold;
  color: var(--dark);
}

.status-pending {
  color: #f39c12;
}

.confirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .returns-page {
    padding-top: 140px;
  }

  .page-heading h1 {
    font-size: 28px;
  }

  .returns-steps {
    gap: 0;
  }

  .returns-steps .step-label {
    font-size: 11px;
  }

  .returns-steps .step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .form-section {
    padding: 20px;
  }

  .order-summary-section {
    padding: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-heading h1 {
    font-size: 24px;
  }

  .confirmation-section h2 {
    font-size: 22px;
  }

  .order-summary-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
