/* Start Form Style */
.nsp-form-fields-wrapper {
    display: flex;
    flex-wrap: wrap;
    
}

/* End Form Style */

/* Start Field Style */
.nsp-field-group {
    align-items: center;
    flex-wrap: wrap;
}

.nsp-column {
    display: flex;
    min-height: 1px;
    position: relative;
}

@media (min-width: 768px) {
    .nsp-column.nsp-col-20 {
        width: 20%;
    }
    .nsp-column.nsp-col-25 {
        width: 25%;
    }
    .nsp-column.nsp-col-30 {
        width: 30%;
    }
    .nsp-column.nsp-col-33 {
        width: 33%;
    }
    .nsp-column.nsp-col-40 {
        width: 40%;
    }
    .nsp-column.nsp-col-50 {
        width: 50%;
    }
    .nsp-column.nsp-col-60 {
        width: 60%;
    }
    .nsp-column.nsp-col-66 {
        width: 66.666%;
    }
    .nsp-column.nsp-col-70 {
        width: 70%;
    }
    .nsp-column.nsp-col-75 {
        width: 75%;
    }
    .nsp-column.nsp-col-80 {
        width: 80%;
    }
    .nsp-column.nsp-col-100 {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .nsp-column {
        width: 100%;  
    }
}

input[type=price] {
    background-color: unset !important;
    color: var(--e-global-color-211e0c6);
    padding: 10px;
    border: none !important;
}

.ajax-form-message {
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}
.ajax-form-message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}
.ajax-form-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

input::placeholder,
textarea::placeholder {
  text-align: right;
  direction: rtl;
}

.field-tooltip-wrapper {
position: absolute;
    left: 25px;
    /* transform: translateY(-100%); */
    display: inline-block;
    top: 0;
}

.tooltip-icon {
  cursor: pointer;
  font-size: 18px;
  color: #444;
  font-family: sans-serif;
  transition: color 0.3s ease;
}

.tooltip-icon:hover {
  color: #0073e6;
}

.tooltip-text {
  visibility: hidden;
  /* max-width: 280px; */
  background-color: #333;
  color: #fff;
  text-align: right;
  padding: 8px 10px;
  border-radius: 8px;
  position: absolute;
  top: -10px;
  left: 20px;
  /* transform: translateX(-50%) translateY(-100%); */
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  width: max-content
}

.field-tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  /* transform: translateX(-50%) translateY(-110%); */
  pointer-events: auto;
}

/* مطمئن شو که فرم فیلد والد موقعیتی دارد */
.form-field {
  position: relative;
}

.nsp_field {
    flex-basis: 100%;
    max-width: 100%;
}

.nsp_field_select {
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-459d498);
    border-radius: 5px 5px 5px 5px;
}

/* لودینگ وسط صفحه */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

/* دایره چرخان */
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #ccc;
  border-top-color: #00aaff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

/* متن زیر اسپینر */
.loader-text {
  font-family: Vazirmatn, sans-serif;
  font-size: 16px;
  color: #333;
}

/* انیمیشن چرخش */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}





