/* General Page Layout */
.checkout-page.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.checkout-form {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.checkout-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex: 2;
}

.shipping-section,
.payment-section {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.shipping-section h2,
.payment-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.payment-options label {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 500;
}

.order-summary-checkout {
  flex: 1;
  background-color: #f1f1f1;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  min-width: 300px;
}

.order-summary-checkout h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}

.summary-item,
.summary-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.summary-total-row.total {
  font-size: 1.2rem;
  font-weight: bold;
}

.place-order-btn {
  margin-top: 1.5rem;
  background-color: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
}

.place-order-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .checkout-form {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}
