/**
 * Ana sayfa kurye çağır kartı — Kuryesi ile aynı düzen, AcilKurye renkleri
 */
:root {
  --kf-primary: #6b9bd5;
  --kf-primary-dark: #4a7ba8;
  --kf-primary-rgb: 107, 155, 213;
  --kf-accent: #f59e0b;
  --kf-accent-dark: #d97706;
}

.hero-order-form,
.hero-section .order-form-card.hero-order-form {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(var(--kf-primary-rgb), 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 1.75rem;
  border: 1px solid rgba(var(--kf-primary-rgb), 0.12);
  position: relative;
  overflow: hidden;
  /* .hero-section color: white kalıtımını kır — form metinleri okunaklı olsun */
  color: #334155;
}

.hero-order-form::before,
.hero-section .order-form-card.hero-order-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--kf-primary) 0%, var(--kf-accent) 100%);
}

.hero-order-form .form-title,
.hero-section .order-form-card.hero-order-form .form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0d1b2a;
}

.hero-order-form .form-title i,
.hero-section .order-form-card.hero-order-form .form-title i {
  color: var(--kf-primary);
}

.hero-order-form .form-subtitle,
.hero-section .order-form-card.hero-order-form .form-subtitle {
  color: #778da9;
  font-size: 0.875rem;
}

.hero-order-form .input-group-text,
.hero-section .order-form-card.hero-order-form .input-group-text {
  background: rgba(var(--kf-primary-rgb), 0.12);
  border: 1px solid #e2e8f0;
  color: var(--kf-primary);
}

.hero-order-form .form-control:focus,
.hero-order-form .form-select:focus,
.hero-section .order-form-card.hero-order-form .form-control:focus,
.hero-section .order-form-card.hero-order-form .form-select:focus {
  border-color: var(--kf-primary);
  box-shadow: 0 0 0 3px rgba(var(--kf-primary-rgb), 0.18);
}

.hero-order-form .btn-next,
.hero-section .order-form-card.hero-order-form .btn-next {
  padding: 0.65rem 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--kf-primary) 0%, var(--kf-primary-dark) 100%);
  border: none;
  color: #fff;
}

.hero-order-form .btn-next:hover,
.hero-section .order-form-card.hero-order-form .btn-next:hover {
  color: #fff;
  filter: brightness(1.05);
}

.hero-order-form .btn-success,
.hero-section .order-form-card.hero-order-form .btn-success {
  background: linear-gradient(135deg, var(--kf-accent) 0%, var(--kf-accent-dark) 100%) !important;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  color: #fff;
}

.hero-order-form .btn-success:hover,
.hero-section .order-form-card.hero-order-form .btn-success:hover {
  color: #fff;
  filter: brightness(1.05);
}

.hero-order-form .form-check-input:checked,
.hero-section .order-form-card.hero-order-form .form-check-input:checked {
  background-color: var(--kf-primary);
  border-color: var(--kf-primary);
}

.hero-order-form .text-primary,
.hero-section .order-form-card.hero-order-form .text-primary {
  color: var(--kf-primary) !important;
}

.hero-section .order-form-card.hero-order-form .kurye-step-dot.active {
  background: var(--kf-primary);
}

.hero-section .order-form-card.hero-order-form .kurye-step-dot.done {
  background: var(--kf-accent-dark);
}

.hero-order-form .price-estimate,
.hero-section .order-form-card.hero-order-form .price-estimate,
.hero-section .order-form-card.hero-order-form #heroPriceEstimateCard {
  background: linear-gradient(135deg, #f1f5f9 0%, rgba(var(--kf-primary-rgb), 0.12) 100%) !important;
  border: 1px solid rgba(var(--kf-primary-rgb), 0.2);
  border-radius: 16px;
  color: #334155 !important;
}

.hero-order-form .price-estimate h6,
.hero-section .order-form-card.hero-order-form .price-estimate h6 {
  font-weight: 700;
  color: #1e293b !important;
}

.hero-order-form .price-estimate span,
.hero-order-form .price-estimate strong,
.hero-order-form .price-estimate .small,
.hero-section .order-form-card.hero-order-form .price-estimate span,
.hero-section .order-form-card.hero-order-form .price-estimate strong,
.hero-section .order-form-card.hero-order-form .price-estimate .small {
  color: #334155 !important;
}

/* Toplam satırı marka renginde kalsın */
.hero-order-form .price-estimate strong.text-primary,
.hero-order-form .price-estimate #heroTotalPrice,
.hero-section .order-form-card.hero-order-form .price-estimate strong.text-primary,
.hero-section .order-form-card.hero-order-form .price-estimate #heroTotalPrice {
  color: var(--kf-primary) !important;
}

/* 2. adım: sözleşme onayı kutusu */
.hero-order-form .form-check,
.hero-order-form .form-check-label,
.hero-section .order-form-card.hero-order-form .form-check,
.hero-section .order-form-card.hero-order-form .form-check-label {
  color: #334155 !important;
}

.hero-order-form .form-check-label,
.hero-section .order-form-card.hero-order-form .form-check-label {
  cursor: pointer;
  padding-left: 0.25rem;
}

.hero-section .order-form-card.hero-order-form .input-group:focus-within .input-group-text {
  border-color: var(--kf-primary);
  background: rgba(var(--kf-primary-rgb), 0.14);
}

.hero-order-form .form-step,
.hero-section .order-form-card.hero-order-form .form-step {
  display: none;
}

.hero-order-form .form-step.active,
.hero-section .order-form-card.hero-order-form .form-step.active {
  display: block;
  animation: kf-fade-in 0.4s ease;
}

@keyframes kf-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kurye-step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.kurye-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: all 0.3s ease;
}

.kurye-step-dot.active {
  width: 28px;
  border-radius: 5px;
}

.hero-order-form .service-agreement,
.hero-section .order-form-card.hero-order-form .service-agreement {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.hero-order-form .service-agreement-sm,
.hero-section .order-form-card.hero-order-form .service-agreement-sm {
  border-radius: 10px;
}

.hero-order-form .agreement-header,
.hero-section .order-form-card.hero-order-form .agreement-header {
  padding: 0.45rem 0.75rem;
}

.hero-order-form .agreement-toggle,
.hero-section .order-form-card.hero-order-form .agreement-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: #415a77;
}

.hero-order-form .agreement-toggle.active,
.hero-section .order-form-card.hero-order-form .agreement-toggle.active {
  color: var(--kf-primary);
}

.hero-order-form .agreement-content,
.hero-section .order-form-card.hero-order-form .agreement-content {
  padding: 0.5rem 0.75rem 0.75rem;
  border-top: 1px solid #e2e8f0;
  max-height: 180px;
  overflow-y: auto;
  font-size: 0.8rem;
}
