/************************ فرم اطلاعات ******************************/

body { font-family: sans-serif; background-color: #f3f4f6; }

form#order-form > div:not(.line,.cargoList,.largeDiv) {
  height: 5em;
}

@media (max-width: 1000px) {

  form#order-form > div:not(.line,.cargoList,.largeDiv) {
    height: 15em;
  }
   
}

.line {
  border-bottom: 1px solid #ccc; margin-top: 2rem; margin-bottom: 1rem;
}

#map {
  height: 200px;

}

input, select, textarea {
  font-size: 1.5rem;
}

input[type="file"] {
  display: none;
}

.upload-label {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px dashed #ccc;
  border-radius: 8px;
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: border 0.3s;
}

.upload-label:hover {
  border-color: #888;
}

input:disabled {
  background-color: #bebebe;
}

#oneWastePrice-display > small {
  color: red;
}


/************************ پیام ثبت سفارش *************************/

#thankYouModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.thank-you-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 128, 0, 0.2);
    animation: fadeInUp 0.4s ease-out;
}

.lottie-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.thank-you-box h2 {
    font-size: 24px;
    color: #16a34a;
    margin-bottom: 10px;
}

.thank-you-box p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

.thank-you-box button {
    background-color: #16a34a;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.thank-you-box button:hover {
    background-color: #15803d;
}

@keyframes fadeInUp {
from {
  opacity: 0;
  transform: translateY(20px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

/********************* مپ **************************/

.leaflet-container.fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100vh !important;
    width: 100vw !important;
    z-index: 9999;
  }

/********************* لودینگ **************************/

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: flex; /* برای وسط‌چین عمودی و افقی */
  }