.leadform-page {
  min-height: 100vh;
  background: #f3f4f6;
  padding: 24px 16px 40px;
}

.leadform-page.lang-ar {
  direction: rtl;
  text-align: right;
}

.leadform-page.lang-en {
  direction: ltr;
  text-align: left;
}

.leadform-card {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(20, 20, 30, 0.08);
  padding: 28px 22px;
}

.leadform-card h2 {
  margin: 0 0 18px;
  font-size: 32px;
  text-align: center;
  color: #1f2937;
}

.entryBox {
  margin-top: 3px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entryBox > span {
  color: #111827;
  font-size: 15px;
  font-weight: 600;
}

.leadform-page.lang-ar .entryBox > span {
  text-align: right;
}

.leadform-page.lang-en .entryBox > span {
  text-align: left;
}

.leadform-page input[type="text"],
.leadform-page input[type="tel"],
.leadform-page input[type="email"],
.leadform-page select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  color: #111827;
  background: #fff;
}

.leadform-page.lang-ar input[type="text"],
.leadform-page.lang-ar input[type="tel"],
.leadform-page.lang-ar input[type="email"],
.leadform-page.lang-ar select {
  text-align: right;
}

.leadform-page.lang-en input[type="text"],
.leadform-page.lang-en input[type="tel"],
.leadform-page.lang-en input[type="email"],
.leadform-page.lang-en select {
  text-align: left;
}

.leadform-page input:focus,
.leadform-page select:focus {
  outline: none;
  border-color: #9d0605;
  box-shadow: 0 0 0 3px rgba(157, 6, 5, 0.12);
}

.leadform-page select option {
  color: #111827;
}

.oldCarGroup {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}

.oldCarGroup label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-end: 16px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}

.leadform-page.lang-en .oldCarGroup {
  text-align: left;
}

.leadform-page.lang-ar .oldCarGroup {
  text-align: right;
}

.oldCarGroup input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #9d0605;
}

.orderBTN {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: none;
  border-radius: 10px;
  background: #9d0605;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
  transition: 0.2s ease;
}

.orderBTN:hover {
  filter: brightness(1.05);
}

.orderBTN:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-result {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid #d1fae5;
  background: #ecfdf5;
  color: #065f46;
  padding: 12px;
}

.result-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-icon {
  width: 20px;
  height: 20px;
}

.success-state {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 16px 10px;
}

.success-state-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.success-state-message {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: #0f5132;
  max-width: 680px;
}

#loadingOverlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.loading-make {
  width: 180px;
  height: 180px;
  object-fit: contain;
  animation: makeFloat 1s ease-in-out infinite;
  filter: brightness(0) drop-shadow(0 10px 16px rgba(0, 0, 0, 0.2));
}

@keyframes makeFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .leadform-page {
    padding: 16px 10px 28px;
  }

  .leadform-card {
    border-radius: 10px;
    padding: 14px 12px;
  }

  .leadform-card h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .entryBox {
    margin-bottom: 14px;
    gap: 8px;
  }

  .entryBox > span {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
  }

  .leadform-page input[type="text"],
  .leadform-page input[type="tel"],
  .leadform-page input[type="email"],
  .leadform-page select {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 18px;
  }

  .leadform-page select {
    min-height: 56px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
  }

  .oldCarGroup {
    padding: 12px;
  }

  .oldCarGroup label {
    width: 100%;
    margin-inline-end: 0;
    margin-bottom: 8px;
    font-size: 18px;
  }

  .orderBTN {
    width: auto;
    min-width: 150px;
    min-height: 50px;
    font-size: 24px;
  }

  .form-result {
    padding: 10px;
    font-size: 16px;
  }

  .success-state {
    padding: 10px 6px;
    gap: 10px;
  }

  .success-state-icon {
    width: 56px;
    height: 56px;
  }

  .success-state-message {
    font-size: 17px;
    line-height: 1.45;
  }
}
