/* استایل کلی */
.taxi-form {
  direction: rtl;
  text-align: right;
  background: #ff8200;
  font-family: "Vazir", sans-serif;
  padding: 25px;
  border-radius: 16px;
  max-width: 1000px;
  margin: 30px auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.taxi-form h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 22px;
  color: #222;
}

/* چیدمان دو ستونه */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-section {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.form-section label {
  color: #333;
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-family: "IRANSansWeb_Medium", Sans-serif;
}

.form-section input,
.form-section select,
.form-section textarea {
  width: 100%;
  padding: 8px 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  font-family: "IRANSansWeb_Medium", Sans-serif;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* نقشه */
#map {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-top: 10px;
  overflow: hidden;
}

/* توضیحات تمام عرض */
.full-width {
  grid-column: span 2;
}

/* دکمه ارسال */
.submit-btn {
  display: block;
  width: auto !important;
  background: #037906 !important;
  color: white !important;
  font-size: 20px !important;
  padding: 14px;
  border: none;
  border-radius: 10px !important;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
  font-family: "IRANSansWeb_Medium", Sans-serif;
}
.submit-btn:hover {
  background: #0056b3;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
}

/* مودال */
.otb-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.otb-modal-content {
  background: white;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  animation: fadeIn 0.3s ease;
}
.otb-modal-icon {
  font-size: 50px;
  color: #28a745;
  margin-bottom: 10px;
}
.otb-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px;
}
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}
