.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.checkout-container h1 {
  margin-bottom: 30px;
  color: #333;
  font-size: 2em;
}

.checkout-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}


.order-summary {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.order-summary h3 {
  margin: 0 0 25px 0;
  color: #333;
  font-size: 1.3em;
  padding-bottom: 15px;
  border-bottom: 2px solid #007bff;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.item-info h4 {
  margin: 0 0 5px 0;
  font-size: 1em;
  color: #333;
}

.item-info p {
  margin: 0;
  color: #666;
  font-size: 0.9em;
}

.item-total {
  font-weight: 600;
  color: #007bff;
  font-size: 1.1em;
}

.order-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #e9ecef;
}

.order-total h3 {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #333;
  font-size: 1.4em;
  border-bottom: none;
  padding: 0;
}


.checkout-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkout-form h3 {
  margin: 0 0 25px 0;
  color: #333;
  font-size: 1.3em;
  padding-bottom: 15px;
  border-bottom: 2px solid #007bff;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}


.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.btn-back,
.btn-confirm {
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 1em;
  border: none;
  cursor: pointer;
}

.btn-back {
  background: #6c757d;
  color: white;
  flex: 1;
}

.btn-back:hover {
  background: #5a6268;
  color: white;
  text-decoration: none;
}

.btn-confirm {
  background: #28a745;
  color: white;
  flex: 2;
}

.btn-confirm:hover {
  background: #218838;
}


@media (max-width: 768px) {
  .checkout-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .btn-back,
  .btn-confirm {
    width: 100%;
  }
}
