/*--------------------------------------------------------------
  # General
--------------------------------------------------------------*/
.eng-fa {
  font-family: iranyekan !important;
}

.text-left {
  direction: ltr !important;
}

/*--------------------------------------------------------------
  # Header
--------------------------------------------------------------*/
.form-header {
  font-size: 1rem;
  transition: all 0.5s;
  z-index: 997;
  padding: 10px 0;
  direction: rtl;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0px 3px 5px rgba(1, 32, 85, 0.1);
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.form-header .container-fluid {
  max-width: calc(100vw - 80px) !important
}

.form-header .logo {
  line-height: 0;
}

.form-header .logo img {
  width: 70px;
  height: 60px;
}

.form-header .logo span {
  font-size: 1.2em;
  font-weight: bolder !important;
  color: #003882;
  font-family: "IRANSansWeb_Light";
  margin-top: 3px;
}

.form-header .btn {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  border-radius: 50px;
  font-size: 1em;
  color: #003882;
  background-color: transparent;
  border-color: #003882;
  float: right;
  font-weight: 700;
  box-shadow: none !important;
  /* padding: 5px 15px 15px 5px */
}

.form-header .fa {
  padding-right: 10px;
  font-size: 20px;
  padding-bottom: 3px;
}

.form-header .btn:hover,
.form-header .btn .active,
.form-header .btn .active:focus {
  background-color: #003882;
  color: white;
  box-shadow: none !important;
}

/*--------------------------------------------------------------
  # Form Body
--------------------------------------------------------------*/
.form {
  width: 100%;
  background: url(../images/forms/form-bg.PNG) top center no-repeat;
  background-size: cover;
  direction: rtl;
}

.form-body {
  padding-top: 5rem;
}

.form-body .card {
  direction: rtl;
  box-shadow: 0px 3px 5px rgba(73, 74, 75, 0.1);
}

.form-body .card-title {
  color: #003882;
  font-size: 1.2rem;
  font-weight: bold;
}

.form-body .card-body {
  color: #003882;
  font-size: 1rem;
}

.form-body .form-group {
  padding-bottom: 7px;
}

.form-body .form-group input,
.form-body .form-group textarea,
.form-body .form-group select {
  box-shadow: none !important;
}

.form-body .form-group input:hover,
.form-body .form-group textarea:hover,
.form-body .form-group select:hover {
  border-color: #1b68ce;
}

.form-body .form-group input::placeholder,
.form-body .form-group textarea::placeholder,
.form-body .form-group select::placeholder {
  font-size: 0.8rem !important;
}

.form-body .form-group input:focus::placeholder,
.form-body .form-group textarea:focus::placeholder,
.form-body .form-group select:focus::placeholder {
  color: #1b68ce;
}

.form-body select {
  font-size: 0.85rem;
  direction: rtl;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to left, #ccc, #ccc);
  background-position: calc(7% - 19px) calc(1em + 0px),
    calc(7% - 15px) calc(1em + 0px), calc(16% - 3em) 0.4em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

.form-body select:focus {
  background-image: linear-gradient(45deg, #1b68ce 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, #1b68ce 50%),
    linear-gradient(to left, #ccc, #ccc);
  background-position: calc(7% - 15px) calc(1em + 0px),
    calc(7% - 19px) calc(1em + 0px), calc(16% - 3em) 0.4em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  border-color: #1b68ce;
  outline: 0;
}

.form-body select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

.form .btn {
  direction: ltr;
  background-color: #003882;
  color: white;
  border-radius: 5px !important;
  box-shadow: none !important;
  width: 100%;
}

.form .btn:hover {
  background-color: #1051a7 !important;
  color: white !important;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: 0.5rem !important;
  background-position: left calc(0.375em + 0.1875rem) center !important;
}

.form-control.is-invalid::placeholder,
.was-validated .form-control:invalid::placeholder {
  color: #dc3545;
}

.send_request {
  border-radius: 11px !important;
}

.send_request:hover {
  background: #0e004c;
}

.modal .modal-header {
  direction: rtl;
  font-size: 1rem;
}

.modal .modal-header {
  direction: rtl;
  font-size: 1rem;
}

.modal .modal-header h1 {
  align-self: center;
}

.modal .modal-header .cancel_btn {
  background: transparent;
  color: #012970;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  min-width: fit-content;
  font-size: 1rem;
}

.modal .modal-header .cancel_btn:hover {
  color: #1051a7;
}

.modal .modal-body {
  text-align: right;
  font-size: 0.9rem;
  color: rgb(46, 45, 45);
}

.modal .modal-body #addPackageRequest_result {
  transition: height 0s ease-out 0s;
  text-align: center;
}

.modal .modal-body #addPackageRequest_result #captcha-img {
  margin: auto;
  display: flex;
  border-radius: 8px;
  max-width: 200px;
  width: 200px;
}

.modal .modal-body #addPackageRequest_result #captcha-input {
  margin: auto;
  margin-top: 7px;
  display: flex;
  border-radius: 8px;
  max-width: 200px;
  width: 200px;
  text-align: center;
  direction: ltr;
}

.modal .modal-body #addPackageRequest_result #captcha-input {
  margin: auto;
  margin-top: 7px;
  display: flex;
  border-radius: 8px;
  max-width: 200px;
  width: 200px;
  text-align: center;
  direction: ltr;
}

.modal .modal-body #addPackageRequest_result .otp-text {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.modal .modal-body #addPackageRequest_result .otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  direction: ltr;
}

.modal .modal-body #addPackageRequest_result .otp-inputs input {
  width: 50px;
  height: 58px;
  border-radius: 14px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  outline: none;
  transition: 0.2s ease;
  background: #fafafa;
  font-family: "iranyekan";
}

.modal .modal-body #addPackageRequest_result #otp-input-error,
.modal .modal-body #addPackageRequest_result #captcha-input-error,
.modal .modal-body #addPackageRequest_result_text span {
  white-space: break-spaces;
}

.modal .modal-body #addPackageRequest_result_text i {
  font-weight: 100;
  font-size: 16px;
}

.modal .modal-footer {
  justify-content: space-between;
}

.modal .modal-footer .btn {
  width: 130px;
  border-radius: 11px !important;
}

.modal .modal-footer .cancel-button {
  background-color: #c70000;
}

.modal .modal-footer .cancel-button:hover {
  background-color: #a80000 !important;
}

#addPackageRequest .modal-footer {
  display: flex;
  justify-content: space-around;
}

#addPackageRequest .modal-footer a {
  direction: rtl;
  width: fit-content;
  font-size: 13px;
  margin: 0;
  margin: 5px 10px;
  padding: 0 10px;
  height: fit-content;
  margin: 0;
}

#addPackageRequest .modal-footer a i {
  color: white;
  margin: 5px 0;
  padding-right: 10px;
  font-size: 1.3rem;
}

#addPackageRequest #addPackageRequest_loader {
  display: none;
  transition: height 0s ease-out 0s;
  text-align: center;
  margin: auto;
  color: #003882;
}

#addPackageRequest #addPackageRequest_loader .spinner-border {
  animation: 1s linear infinite spinner-border;
}

error_notice {
  color: red;
  scale: 0.8;
  display: none;
}

@media (max-width: 1035px) {
  .form-header .btn {
    color: #003882;
    border-radius: 10px;
    font-size: 0.8em;
  }

  .form-header .logo span {
    font-size: 1em;
    font-weight: bolder !important;
    color: #003882;
    font-family: "IRANSansWeb_Light";
    margin-top: 3px;
  }
}