.order-page-section {
  padding: 80px 0 100px;
  background: #f4faff;
  min-height: 100vh;
}

.order-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 120, 200, 0.1);
  padding: 50px 50px 44px;
  max-width: 720px;
  margin: 8rem auto;
}

.order-card-header {
  text-align: center;
  margin-bottom: 36px;
}

.order-card-header .schoolbell {
  color: #0078c8;
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}

.order-card-header h2 {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #0d2d55;
  margin-bottom: 10px;
}

.order-card-header p {
  color: #6b7a90;
  font-size: 15px;
  margin: 0;
}

.order-divider {
  border: none;
  border-top: 2px solid #e8f3fc;
  margin: 0 0 32px;
}

.order-form label {
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #0d2d55;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
  display: block;
}

.order-form .form-control {
  border: 1.5px solid #d0e6f7;
  border-radius: 8px;
  height: 48px;
  font-size: 15px;
  color: #0d2d55;
  background: #f9fcff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  padding: 0 16px;
}

.order-form .form-control:focus {
  border-color: #0078c8;
  box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.12);
  background: #ffffff;
  outline: none;
}

.order-form textarea.form-control {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
}

.order-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230078c8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-section-label {
  font-family: "Exo 2", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #0078c8;
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8f3fc;
}

.quantity-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #d0e6f7;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
  background: #f9fcff;
}

.qty-btn {
  background: #e8f3fc;
  border: none;
  width: 44px;
  height: 48px;
  font-size: 20px;
  color: #0078c8;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #d0e6f7;
}

.qty-display {
  width: 60px;
  text-align: center;
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0d2d55;
  border: none;
  background: transparent;
  pointer-events: none;
}

.order-submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #0078c8 0%, #005fa3 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 32px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(0, 120, 200, 0.3);
}

.order-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 120, 200, 0.35);
}

.whatsapp-note {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #6b7a90;
}

.whatsapp-note i {
  color: #25d366;
  margin-right: 4px;
}

.order-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: #e6f9ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #22c55e;
}

.order-success h3 {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  color: #0d2d55;
  margin-bottom: 10px;
}

.order-success p {
  color: #6b7a90;
  margin-bottom: 24px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
  color: white;
  text-decoration: none;
}

.order-error {
  display: none;
  background: #fff0f0;
  border: 1px solid #ffcccc;
  border-radius: 8px;
  padding: 14px 18px;
  color: #c0392b;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}

/* ── Logged in banner ── */
.logged-in-banner {
  background: #e8fef0;
  border: 1px solid #b7f5c8;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #1a7a3c;
}

.logged-in-banner strong {
  font-weight: 700;
}

.logged-in-banner a {
  color: #1a7a3c;
  font-weight: 600;
}

/* ── Guest login prompt ── */
.guest-prompt {
  background: #f0f7ff;
  border: 1px solid #d0e6f7;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #0d2d55;
  text-align: center;
}

.guest-prompt a {
  color: #0078c8;
  font-weight: 600;
  text-decoration: none;
}

.guest-prompt a:hover {
  text-decoration: underline;
}

/* ── Prefilled indicator ── */
.prefilled {
  background: #f0fff4 !important;
  border-color: #b7f5c8 !important;
}

/* ── Saved address selector ── */
.addr-selector {
  margin-bottom: 16px;
}

.addr-selector label {
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #0d2d55;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
  display: block;
}

.addr-selector select {
  width: 100%;
  padding: 0 16px;
  border: 1.5px solid #d0e6f7;
  border-radius: 8px;
  height: 48px;
  font-size: 15px;
  color: #0d2d55;
  background: #f9fcff;
  outline: none;
  appearance: none;
}

.addr-selector select:focus {
  border-color: #0078c8;
}

@media (max-width: 600px) {
  .order-card {
    padding: 32px 20px 28px;
  }
}
