/* Custom styles for Woudlopers order form */

:root {
  --primary-color: #2d6a4f;
  --primary-hover: #1b4332;
  --accent-color: #40916c;
  --light-bg: #f8f9fa;
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body {
  background-color: #f0f2f5;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #333;
}

.order-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem;
}

/* Header styling */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.page-header .event-badge {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.header-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
}

.header-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Card styling */
.order-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.order-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.order-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

.order-card .card-title i {
  margin-right: 0.5rem;
}

/* Form controls */
.form-select, .form-check-input {
  cursor: pointer;
}

.form-select:focus, .form-check-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(64, 145, 108, 0.25);
}

.form-check {
  padding: 0.5rem 0 0.5rem 2rem;
}

.form-check-label {
  font-size: 0.95rem;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.product-row label {
  flex: 1;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.product-row .price-tag {
  color: #6c757d;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

.product-row select {
  width: 80px;
  text-align: center;
}

/* Radio buttons for dates */
.date-option {
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.date-option:hover {
  border-color: var(--accent-color);
  background-color: rgba(64, 145, 108, 0.05);
}

.date-option input[type="radio"]:checked + label,
.form-check-input:checked ~ .form-check-label {
  font-weight: 600;
}

.date-option:has(input:checked) {
  border-color: var(--accent-color);
  background-color: rgba(64, 145, 108, 0.08);
}

/* Buttons */
.btn-order {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 0.6rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.btn-order:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.btn-back {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background-color: #bb2d3b;
  border-color: #bb2d3b;
  color: white;
  transform: translateY(-1px);
}

.btn-search {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-search:hover {
  background-color: #5a6268;
  border-color: #5a6268;
  color: white;
}

/* Confirmation page */
.confirmation-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.confirmation-card h2 {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.confirmation-card .table {
  margin-bottom: 0;
}

.confirmation-card .table thead th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
}

.confirmation-card .table tbody td {
  vertical-align: middle;
  font-size: 0.95rem;
}

.confirmation-card .total-row td {
  font-weight: 700;
  font-size: 1.05rem;
  border-top: 2px solid var(--primary-color);
}

.order-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 0;
  color: #6c757d;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 576px) {
  .order-card {
    padding: 1.25rem;
  }

  .product-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .product-row select {
    width: 70px;
  }

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

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