@charset "UTF-8";

@font-face {
  font-family: IRANYekan-regular;
  font-style: normal;
  font-weight: 400;
  src: url("fonts/IRANYekan/woff/iranyekanxfanumregular.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekan-medium;
  font-style: normal;
  font-weight: 500;
  src: url("fonts/IRANYekan/woff/iranyekanxfanumregular.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekan-bold;
  font-style: normal;
  font-weight: bold;
  src: url("fonts/IRANYekan/woff/iranyekanxfanumbold.woff2") format("woff2");
}

@font-face {
  font-family: IRANYekan-extra-bold;
  font-style: normal;
  font-weight: 800;
  src: url("fonts/IRANYekan/woff/iranyekanxfanumbold.woff2") format("woff2");
}

html,
body {
  font-family: IRANYekan-regular !important;
  background-color: #F9F9FA !important;
  color: #171e2b;
}

.font-bold {
  font-family: IRANYekan-bold !important;
  font-weight: bold;
}

.font-bolder {
  font-family: IRANYekan-regular !important;
  font-weight: 700;
}

.font-extra-bold {
  font-family: IRANYekan-extra-bold !important;
  font-weight: 800;
}

.font-medium {
  font-family: IRANYekan-medium !important;
  font-weight: 500;
}

.font-regular {
  font-family: IRANYekan-regular !important;
  font-weight: normal;
}

[dir="rtl"] {
  .card {
    .card-footer {
      button {
        margin-left: .5rem;
        margin-right: 0;
      }
    }
  }
}

.center-single-element {
  display: table;
  margin: 0 auto;
}

.container-fluid {
  padding-top: 15px
}

.ui-toolbar.table-toolbar {
  padding: 5px;

  .input-group {
    .form-control {
      height: 2em;
    }

    .input-group-append {
      height: 2em;
    }
  }

  .ui-toolbar-group-left {
    display: flex;
  }
}

.card {
  .card-footer {
    button {
      margin-right: .5rem;
      margin-left: 0;
      margin-bottom: 4px;
      margin-top: 4px;
    }
  }
}

.form-control {
  border: solid 1px #adb1b8;
  border-radius: 8px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  line-height: 20px;
  padding: 8px 12px 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #212834;
  font-family: IRANYekan-medium;
  box-sizing: border-box;
  direction: rtl !important;
  text-align: right !important;
}

/* Custom select styling with arrow */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 16px 12px;
  padding-left: 40px;
  cursor: pointer;
}

select.form-control::-ms-expand {
  display: none;
}

  /* Force number inputs to RTL (override Bootstrap defaults) */
  input[type="number"].form-control,
  .form-control[type="number"] {
    direction: rtl !important;
    text-align: right !important;
  }

  /* Placeholder styling for form-control */
  .form-control::placeholder {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #D8DADD !important;
    padding-left: 6px;
    direction: rtl !important;
    text-align: right !important;
  }

  .form-control:not(:placeholder-shown) {
    padding: 8px 12px 8px 12px;
  }

  .form-control:hover {
    border: solid 1px #757c89;
  }

  select.form-control:hover {
    border: solid 1px #757c89;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23757c89' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  }

  .form-control:focus {
    box-shadow: none;
  }

  select.form-control:focus {
    box-shadow: none;
    outline: none;
    border: solid 1px #80aaf7;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2380aaf7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  }

    .form-control:focus:hover {
      border: solid 1px #80aaf7;
    }

  .form-control:disabled, .form-control[readonly] {
    opacity: 1;
    background-color: #eeeff1;
    border: solid 1px #c2c5cb;
    color: #757c89;
  }

  select.form-control:disabled,
  select.form-control[readonly] {
    opacity: 1;
    background-color: #eeeff1;
    border: solid 1px #c2c5cb;
    color: #757c89;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23757c89' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    cursor: not-allowed;
  }

textarea.form-control {
  min-height: calc(5em + (0.75rem + 2px)) !important;
}

  textarea.form-control[readonly] {
    background-color: white;
  }


.card {
  .card-header {
    padding: 6px 20px;
    cursor: pointer;
  }

  .card-footer {
    padding: 3px 20px;

    button {
      height: 2.2em;

      .ui-button-text {
        padding-top: 0;
        padding-bottom: 0;
      }
    }
  }
}

.ui-table {
  thead {
    tr {
      line-height: 1.25em;
    }
  }

  tbody {
    tr {
      line-height: 1em;
    }
  }
}

[dir='rtl'] {
  .ltr-input {
    /*direction: ltr;*/
    direction: ltr;
    text-align: right;
  }

    .ltr-input::-webkit-input-placeholder { /* Edge */
      direction: rtl;
    }

    .ltr-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
      direction: rtl;
    }

    .ltr-input::placeholder {
      direction: rtl;
    }
}

.is-required:after {
  content: " *";
  color: red;
}

dl dt {
  color: #97969b;
}

.nav-pills .nav-link {
  color: #8F98A8 !important;
}

.nav-link.active,
.show > .nav-link {
  background-color: transparent !important;
  color: #8A93A4 !important;
  font-weight: bold;
}


.mycard-success .card-header {
  background-color: #28a745;
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
  padding: 0.5rem;
}

.mycard-success .card-body {
  background-color: #E9FFF4;
  color: #42526E;
}

.mycard-warning {
  margin-bottom: 1rem;
}

  .mycard-warning .card-header {
    background-color: #FEC400;
    color: #42526E;
    font-weight: bold;
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem;
  }

  .mycard-warning .card-body {
    background-color: #FFF9E9;
    color: #42526E;
  }

.mycard-danger .card-header {
  background-color: #dc3545;
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
  padding: 0.5rem;
}

.mycard-danger .card-body {
  background-color: #FFE9E9;
  color: #42526E;
}

.my-add-btn {
  background-color: #E0F5FF;
  border: solid 1px #03A9F4 !important;
  color: #03A9F4 !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  min-height: 3rem;
}

  .my-add-btn:hover {
    background-color: #03A9F4;
    color: #FFFFFF !important;
    font-size: 1rem !important;
    font-weight: bold !important;
  }

body .ui-table .ui-table-tbody > tr > td {
  line-height: 1.2rem;
}

  body .ui-table .ui-table-tbody > tr > td span {
    line-height: 1.2rem;
  }

[dir="ltr"] {

  .app-menu {
    padding-left: 0px;
  }

  .app-menu__item {
    border-right: 3px solid transparent;
    border-left: none;
  }

  .app-sidebar__toggle {
    margin-left: -45px;
    margin-right: unset;
  }

    .app-sidebar__toggle span {
      left: 7px;
      right: unset;
    }

  .sidenav-toggled .app-sidebar__toggle span {
    left: 0.4rem;
    right: unset;
  }

  .sidenav-toggled .app-menu__item {
    border-right: 3px solid transparent;
    border-left: none;
  }

  @media (max-width: 640px) {
    .app-sidebar__toggle {
      margin-left: 0px !important;
      margin-right: 0rem;
    }

      .app-sidebar__toggle span {
        left: 6px;
        right: unset;
      }

    .sidenav-toggled .app-sidebar__toggle {
      left: 14px;
      right: unset;
    }

      .sidenav-toggled .app-sidebar__toggle span {
        right: unset;
      }
  }

  @media (max-width: 768px) {
    .app-header {
      padding-left: 30px;
      padding-right: 0px;
    }

    .app-header__logo {
      margin-left: 1rem;
      margin-right: 0;
    }

    .app-sidebar__toggle {
      margin-left: -13px;
      margin-right: 0rem;
    }

      .app-sidebar__toggle span {
        left: 6px;
        right: unset;
      }

    .sidenav-toggled .app-sidebar__toggle {
      left: 30px;
      right: unset;
    }

      .sidenav-toggled .app-sidebar__toggle span {
        right: unset;
      }
  }

  @media (max-width: 767px) {
    .app-header {
      padding-left: 30px;
      padding-right: 0px;
    }

    .app-header__logo {
      margin-left: 1rem;
      margin-right: 0;
    }

    .app-sidebar__toggle {
      margin-left: -13px !important;
      margin-right: 0rem;
    }

      .app-sidebar__toggle span {
        left: 6px;
        right: unset;
      }

    .sidenav-toggled .app-sidebar__toggle {
      left: 30px;
      right: unset;
    }

      .sidenav-toggled .app-sidebar__toggle span {
        right: unset;
      }
  }
}

.btn-icon-split {
  padding: 0;
  overflow: hidden;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

  .btn-icon-split .icon {
    background: rgba(0, 0, 0, 0.15);
    display: inline-block;
    padding: 0.375rem 0.75rem;
  }

  .btn-icon-split .text {
    display: inline-block;
    padding: 0.375rem 0.75rem;
  }

  .btn-icon-split.btn-sm .icon, .btn-group-sm > .btn-icon-split.btn .icon {
    padding: 0.25rem 0.5rem;
  }

  .btn-icon-split.btn-sm .text, .btn-group-sm > .btn-icon-split.btn .text {
    padding: 0.25rem 0.5rem;
  }

  .btn-icon-split.btn-lg .icon, .btn-group-lg > .btn-icon-split.btn .icon {
    padding: 0.5rem 1rem;
  }

  .btn-icon-split.btn-lg .text, .btn-group-lg > .btn-icon-split.btn .text {
    padding: 0.5rem 1rem;
  }

.cursor-default {
  cursor: default;
}

.cursor-pointer {
  cursor: pointer;
}

.text-error {
  color: #ec232d !important;
  font-size: 12px;
  margin-top: 2px;
}

a {
  color: #0055ef;
  text-decoration: none;
}

  a:hover {
    color: #0055ef;
    text-decoration: none;
    cursor: pointer;
  }

.app-content {
  background-color: #F9F9FA !important;
  padding: 30px 40px 30px 20px !important;
}

.fit-image-wrapper {
  display: flex;
  justify-content: center;
  background-color: #F9F9FA;

  & > img {
    width: auto;
    border-radius: 8px;
    max-width: -webkit-fill-available;
    max-width: -moz-available;
    max-width: stretch;
  }
}

.hover-blue:hover {
  color: #1065ff !important;
}

.hover-red:hover {
  color: #dc131d !important;
}

.hover-white:hover {
  color: #ffffff !important;
}

.hover-blue:hover .bg-danger.hover-white {
  color: #ffffff !important;
}

.radius-0 {
  border-radius: 0px !important;
}

.radius-top-0 {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.radius-bottom-0 {
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.radius-right-0 {
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.radius-left-0 {
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.radius-2 {
  border-radius: 2px !important;
}

.radius-4 {
  border-radius: 4px !important;
}

.radius-right-4 {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

.radius-left-4 {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}

.radius-top-0 {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.radius-top-4 {
  border-top-left-radius: 4px !important;
  border-top-right-radius: 4px !important;
}

.radius-top-left-4 {
  border-top-left-radius: 4px !important;
}

.radius-bottom-4 {
  border-bottom-left-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}

.radius-8 {
  border-radius: 8px !important;
}

.radius-right-8 {
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

.radius-left-8 {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

.radius-top-8 {
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
}

.radius-top-left-8 {
  border-top-left-radius: 8px !important;
}

.radius-bottom-8 {
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

.radius-12 {
  border-radius: 12px !important;
}

.radius-16 {
  border-radius: 16px !important;
}

.radius-left-16 {
  border-top-left-radius: 16px !important;
  border-bottom-left-radius: 16px !important;
}

.radius-28 {
  border-radius: 28px !important;
}

.radius-32 {
  border-radius: 32px !important;
}

.mud-main-content {
  padding: 0px !important;
}

.btn-tab {
  font-size: 14px !important;
  font-family: IRANYekan-regular !important;
  font-weight: 700 !important;
  color: rgb(33, 37, 41) !important;
}

.mud-button {
  border-radius: 8px !important;
  height: 36px !important;
}

.mud-button-label {
  font-family: IranYekan-regular !important;
  font-size: 12px !important;
}

.btn {
  font-size: 12px;
  box-shadow: none;
  border-radius: 8px;
  align-content: center;
  font-family: IRANYekan-bold;
  height: 36px;
  padding: 6px 16px;
}

  .btn:hover {
    font-size: 12px;
    box-shadow: none;
    align-content: center;
    border-radius: 8px;
    font-family: IRANYekan-bold !important;
    height: 36px;
    padding: 6px 16px;
  }

.btn-outline-bgcolor-primary {
  background-color: #fff;
  border: solid 1px #adb1b8;
  color: #757c89;
  font-size: 12px;
  display: flex;
  align-items: center;
  font-family: IRANYekan-regular !important;
  font-weight: normal;
}

  .btn-outline-bgcolor-primary:hover {
    background-color: #cfe0ff;
    border: solid 1px #1065ff;
    color: #1065ff;
    font-size: 12px;
    display: flex;
    align-items: center;
    font-family: IRANYekan-regular !important;
    font-weight: normal;
  }

  .btn-check:checked + .btn-outline-bgcolor-primary,
  .btn-check:active + .btn-outline-primary,
  .btn-outline-bgcolor-primary:active,
  .btn-outline-bgcolor-primary.active,
  .btn-outline-bgcolor-primary.dropdown-toggle.show {
    background-color: rgb(207, 224, 255) !important;
    border: solid 1px rgb(16, 101, 255) !important;
    color: rgb(16, 101, 255) !important;
    font-size: 12px;
    font-family: IRANYekan-bold !important;
    font-weight: bold;
  }

.spinner-place {
  margin-top: 2%;
}


.clean-input, .clean-input:focus {
  background-color: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}

.input-group_for_clean-input {
  justify-content: flex-end;
  margin-right: -30px;
}

.clean-input-line {
  border-top: solid 1px #cdd0d4;
  margin-top: -5px;
  width: 35%;
}

.modal-username-icon {
  border-bottom: solid 1px #ddd;
  border-radius: 0px;
  padding: 5px 0px 10px 10px;
}

.modal-username-text {
  border-bottom: solid 1px #ddd;
  padding-bottom: 3px;
}

.message-box {
  padding: 16px;
  border-radius: 8px;
  font-family: IRANYekan-bold !important;
  font-size: 14px;
  font-weight: bold;
  color: #212834;
  text-align: start;
}

  .message-box.success {
    border: solid 1px #c2ecd0;
    background-color: #f3fbf6;
  }

    .message-box.success i {
      color: #39b663;
    }

  .message-box.warning {
    border: solid 1px #ffdbaf;
    background-color: #fff8ef;
  }

    .message-box.warning i {
      color: #ef8200;
    }

  .message-box.primary {
    border: solid 1px #7cd7ff;
    background-color: #effaff;
  }

    .message-box.primary i {
      color: #82aeff;
    }

  .message-box.danger {
    border: solid 1px #f9b6b9;
    background-color: #fef0f1;
  }

    .message-box.danger i {
      color: #ec232d;
    }

/* ============================================ */
/* Global Placeholder Styling                  */
/* 12px font, #D8DADD color, 500 weight        */
/* ============================================ */
::placeholder {
  color: #D8DADD !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

::-webkit-input-placeholder {
  color: #D8DADD !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

::-moz-placeholder {
  color: #D8DADD !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

:-ms-input-placeholder {
  color: #D8DADD !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.btn-check:focus + .btn, .btn:focus {
  box-shadow: none;
}

.border-bottom-form-basic-title {
  border-bottom: solid 1px #cdd0d4;
  padding-bottom: 3px;
  margin-bottom: 0px;
}

.border-bottom-form-title {
  border-bottom: solid 1px #cdd0d4;
  padding-bottom: 3px;
  margin-top: 24px !important;
  margin-bottom: 0px;
}

.border-card-white {
  border: solid 1px #fff;
}

.box-card {
  box-shadow: 0 2px 4px 0 rgba(13, 20, 33, 0.1);
}

.box-card-primary {
  box-shadow: 0 2px 4px 0 rgba(13, 20, 33, 0.1);
  border: solid 1px #ffffff;
}

  .box-card-primary:hover {
    box-shadow: 0 2px 4px 0 rgba(13, 20, 33, 0.1);
    border: solid 1px #1065ff;
  }

.row-card-primary {
  box-shadow: 0 2px 4px 0 rgba(13, 20, 33, 0.1);
}

  .row-card-primary:hover {
    border: solid 1px #1065ff;
  }

.border-start-4 {
  border-inline-start-width: 4px !important;
}

.border-bottom-4 {
  border-bottom-width: 4px !important;
}

.card {
  border-radius: 4px;
  border: none;
  background-color: transparent;
}

.card-body {
  box-shadow: 0 2px 4px 0 rgba(13, 20, 33, 0.1);
  padding: 32px;
  border-radius: 4px;
  background-color: #fff;
}

form .row > * {
  padding-left: 8px;
  padding-right: 8px;
  margin-top: 16px;
}

.message-page-box {
  max-width: 550px;
}

/*.system-logo {
  height: 144px;
}*/

.accordion-button:focus {
  box-shadow: none;
}

.container-attachment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 24px;
  border: 1px dashed #c7cad0;
  border-radius: 8px;
  background-color: #fcfcfd;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.container-attachment:hover {
  border-color: #1b1464;
  background-color: #f7f7fc;
}

.files-list .message-primary-box,
.files-list .message-danger-box {
  background-color: #ffffff;
  border: 1px solid #e4e5e7;
}

.files-list .message-danger-box {
  border-color: #f3c7ca;
}

.files-list .message-primary-box i,
.files-list .message-danger-box i {
  color: #6a6f77;
}

.files-list .single-file {
  padding-top: 12px;
  padding-bottom: 12px;
}

.message-primary-box {
  background-color: #eff5ff;
  font-size: 14px;
  font-family: IRANYekan-bold;
  font-weight: bold;
}

  .message-primary-box i {
    color: #1065ff;
  }

  .message-primary-box.accordion-body {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }

  .message-primary-box.accordion-button.collapsed {
    border-radius: 8px !important;
  }

  .message-primary-box.accordion-button:not(.collapsed) {
    color: #FFF;
    background-color: #1065ff;
    box-shadow: none;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
  }

.message-success-box {
  background-color: #f3fbf6;
  font-size: 14px;
  font-family: IRANYekan-bold;
  font-weight: bold;
}

  .message-success-box i {
    color: #39b663;
  }

  .message-success-box.accordion-body {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }

  .message-success-box.accordion-button.collapsed {
    border-radius: 8px !important;
    background-color: #dbf4e3;
  }

  .message-success-box.accordion-button:not(.collapsed) {
    color: #212834 !important;
    background-color: #dbf4e3;
    box-shadow: none;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    font-size: 14px;
    font-family: IRANYekan-bold !important;
    font-weight: bold !important;
  }

.message-warning-box {
  background-color: #fff8ef;
  font-size: 14px;
  font-family: IRANYekan-bold;
  font-weight: bold;
}

  .message-warning-box i {
    color: #ff9210;
  }

  .message-warning-box.accordion-body {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }

  .message-warning-box.accordion-button.collapsed {
    border-radius: 8px !important;
    background-color: #ffe9cf;
  }

  .message-warning-box.accordion-button:not(.collapsed) {
    color: #212834 !important;
    background-color: #ffe9cf;
    box-shadow: none;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    font-size: 14px;
    font-family: IRANYekan-bold !important;
    font-weight: bold !important;
  }

.message-danger-box {
  background-color: #fef0f1;
  font-size: 14px;
  font-family: IRANYekan-bold;
  font-weight: bold;
}

  .message-danger-box i {
    color: #ec232d;
  }

  .message-danger-box.accordion-body {
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }

  .message-danger-box.accordion-button.collapsed {
    border-radius: 8px !important;
    background-color: #fbd3d5;
  }

  .message-danger-box.accordion-button:not(.collapsed) {
    color: #212834 !important;
    background-color: #fbd3d5;
    box-shadow: none;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    font-size: 14px;
    font-family: IRANYekan-bold !important;
    font-weight: bold !important;
  }

.tab-box-title {
  box-shadow: 0 2px 4px 0 rgb(13 20 33 / 10%);
  border-radius: 4px;
  border: none;
}

.tab-box-title-active {
  box-shadow: 0 2px 4px 0 rgb(13 20 33 / 10%);
  border-radius: 4px;
  border-bottom: solid 6px;
}

.opacity-none {
  opacity: 1 !important;
}


.search-group {
  border: solid 1px #cdd0d4;
  border-radius: 8px;
  background-color: #fff;
}

  .search-group:hover, .search-group:focus:hover {
    border: solid 1px #0055ef;
    border-radius: 8px;
  }

.search-group-btn {
  border: none;
  padding: 4px 0px 0px 10px;
}

  .search-group-btn:hover {
    padding: 4px 0px 0px 10px;
  }

.search-group-input {
  border: none;
}

  .search-group-input:hover,
  .search-group-input:focus:hover {
    border: none;
  }

/* for input and button when button in input */
.input_btn-group {
  border: solid 1px #cdd0d4;
  border-radius: 8px;
  background-color: #fff;
  height: 36px;
  padding-left: 0px;
  margin-top: 2px;
}

  .input_btn-group:hover, .input_btn-group:focus:hover {
    border: solid 1px #0055ef;
    border-radius: 8px;
  }

  .input_btn-group btn,
  .input_btn-group button,
  .input_btn-group input {
    padding: 4px 12px 4px 12px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border: none !important;
  }

    .input_btn-group btn:hover {
      padding: 4px 0px 0px 10px;
    }

  .input_btn-group input {
    border: none;
    height: 33px;
  }

    .input_btn-group input:hover,
    .input_btn-group input:focus:hover {
      border: none;
    }

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #aaa;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: #adb1b8;
  border-radius: 8px;
}

  ::-webkit-scrollbar-thumb:hover {
    background: #8c8e93;
  }

/* popover */
.popover {
  border: none !important;
  margin-top: 0.3rem !important;
  z-index: 99999;
}

.popover-body {
  padding: 4px 8px 4px 8px !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  font-family: IRANYekan-regular !important;
}

.info-popover .popover-body {
  background-color: black !important;
  color: white !important;
}

.info-popover .popover-arrow::before,
.info-popover .popover-arrow::after {
  display: none;
  border-top-color: black !important;
  border-bottom-color: black !important;
}

.error-popover .popover-body {
  background-color: #ef4049 !important;
  color: #fff !important;
}

.error-popover .popover-arrow::before,
.error-popover .popover-arrow::after {
  display: none;
  border-top-color: #ef4049 !important;
  border-bottom-color: #ef4049 !important;
}

.popover-arrow {
  left: 12px !important;
}

  .popover-arrow::before {
    border-top-color: transparent !important
  }

.accordion-button-border {
  border-style: solid;
  border-width: 1px;
  border-radius: 50px !important;
  padding: 3px;
  margin-left: 20px;
  color: #b1b5bc;
}

.accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
}

.bg-number {
  min-width: 24px;
  height: 16px;
  border-radius: 8px;
  text-align: center;
  vertical-align: middle;
  padding-left: 4px;
  padding-right: 4px;
  display: inline-block;
}

.bg-number_blue-light {
  background-color: #cfe0ff;
  color: #0055ef;
}

.bg-number_blue-lighter {
  background-color: #eff5ff;
  color: #0055ef;
}

.bg-number_purple-light {
  background-color: #f5f2fc;
  color: #633fd0;
}

.bg-number_orange-light {
  background-color: #fff8ef;
  color: #ff9210;
}

.status {
  min-width: 24px;
  height: auto;
  border-radius: 16px;
  text-align: center;
  vertical-align: middle;
  padding: 4px 8px 3px 8px;
  font-size: 10px;
}

.status-success {
  background-color: #F3FBF6;
  color: #39B663;
}

.status-secondary {
  background-color: #EFF5FF;
  color: #0055EF;
}

.status-primary {
  background-color: #EFF5FF;
  color: #0055EF;
}

.status-info {
  background-color: #F0FEFF;
  color: #00D7F0;
}

.status-warning {
  background-color: #FFFBEF;
  color: #EFB900;
}

.status-danger {
  background-color: #FEF0F1;
  color: #DC131D;
}

.status-dark {
  background-color: #757C89;
  color: #ffffff;
}

.status-orange {
  background-color: #FFF8EF;
  color: #EF8200;
}

.status-black {
  background-color: #212834;
  color: #FFFFFF;
}

.status-default {
  background-color: #D8DADD;
  color: #0D1421;
}

.status-light {
  background-color: #F9F9FA;
  color: #171E2B;
}

.status-purple {
  background-color: #f5f2fc;
  color: #633fd0;
}

.btn-success, .btn-cyan, .btn-info, .btn-green, .btn-purple,
.btn-indigo, .btn-teal, .btn-pink {
  color: #fff !important;
}

.modal-xl {
  max-width: 1000px;
}

/* ============================================ */
/* Form Labels - Consistent 8px spacing         */
/* All labels should have exactly 8px margin    */
/* between the label and the input below it     */
/* ============================================ */
label,
.form-label,
.col-form-label {
  color: #171E2B;
  font-size: 12px;
  margin-bottom: 8px;
  display: block;
}

/* Inline labels (for checkboxes, radios) should not be block */
.form-check-label {
  display: inline;
  margin-bottom: 0;
}

.custom-accordion-header {
  /*min-height: 64px;
  padding: 20px 24px 20px 32px;*/
  min-height: 45px;
  padding: 12px 24px 8px 24px;
}

@media (max-width: 768px) {
  .custom-accordion-header {
    padding: 13px 16px;
  }
}

.custom-accordion-body {
  padding: 15px 32px;
}

/* spaces */

.py-10px {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.margin-2px {
  margin: 2px;
}

.pad-top-1 {
  padding-top: 1px;
}

.custom-pad-circle {
  padding: 5px 6px 5px 6px !important;
}

.mt_-13px {
  margin-top: -13px;
}

.mt-8px {
  margin-top: 8px !important;
}

.my-8px {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.mb-16px {
  margin-bottom: 16px !important;
}

.me-16px {
  margin-right: 16px !important;
}

.ms-2px {
  margin-left: 2px !important;
}

.ms-8px {
  margin-left: 8px !important;
}

.ms-12px {
  margin-left: 12px !important;
}

.me-24px {
  margin-right: 24px !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.pb-8px {
  padding-bottom: 8px !important;
}

.px-4 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.py-2 {
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
}

.w-max-content {
  width: max-content !important;
}

.w-inherit {
  width: inherit;
}

.z-index-9 {
  z-index: 9;
}

.z-index-99 {
  z-index: 99;
}

.rotate-paperclip {
  transform: scalex(-1) rotate(-45deg);
}

/* Confirm Dialog Styles */
.confirm-border {
  height: 3px;
  width: 100%;
  margin-bottom: 28px;
}

.confirm-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.modal-text {
  color: #42526e;
}

.footer-buttons {
  margin-bottom: 24px;
}

.mud-dialog-actions {
  padding: 0px !important;
}


.custom-modal-form-body {
  padding: 0px 32px 0px 32px !important;
}

/* Delete Confirm Dialog Styles */
.border-red {
  height: 3px;
  width: 100%;
  background-color: #ec232d;
  margin-bottom: 28px;
}

.delete-icon {
  font-size: 40px;
  color: #ec232d;
  margin-bottom: 8px;
}

.mud-dialog-width-sm {
  border-radius: 16px !important;
  width: 400px !important;
  height: 231px !important;
}

.mud-dialog-container .mud-paper {
  border-radius: 16px !important;
}

.mud-dialog-content {
  padding: 0px 16px !important;
}

.mud-dialog-title {
  padding: 0px 16px !important;
}

/* MudDialog with custom modal classes - remove MudBlazor default padding */
.lov-modal .mud-dialog-content,
.mud-dialog.custom-dialog .mud-dialog-content {
  padding: 0 !important;
  overflow: visible !important;
}

.lov-modal .mud-dialog-title,
.mud-dialog.custom-dialog .mud-dialog-title {
  padding: 0 !important;
}

.lov-modal .mud-dialog-actions,
.mud-dialog.custom-dialog .mud-dialog-actions {
  padding: 0 !important;
}

.custom-modal-header {
  padding: 24px 0px 4px 0px;
  margin: 0px 32px 16px 32px;
  border-bottom: 2px solid #eeeff1;
  justify-content: space-between;
  display: flex;
}

.custom-modal-body {
  max-height: 450px;
  min-height: 450px !important;
  overflow-y: auto;
  padding: 0px 32px;
}

/* #34 — save/cancel buttons centered in all modals */
.modal-footer {
  justify-content: center !important;
}

.custom-modal-footer {
  padding: 16px 0px;
  margin: 24px 32px 0px 32px;
  display: flex;
  justify-content: center;
  border-top: 2px solid #eeeff1 !important;
}

  .custom-modal-footer row {
    margin: 0 !important;
  }

.custom-modal-header .modal-title {
  font-family: IRANYekan-regular !important;
  font-weight: 700;
  font-size: 14px;
  color: #212834;
}

.custom-modal-header .btn {
  height: 20px;
  display: flex;
  align-items: center;
  padding: 0px 0px 1px 0px;
  font-size: 16px;
  color: #A1A6AE;
}

.avatar-image img,
.avatar-image div.skeletation-screen {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow: 0 1px 2px 0 rgba(33, 40, 52, 0.32);
  border: solid 1px #fff;
}

.box-shadow-0 {
  box-shadow: none !important;
}

.box-shadow-1 {
  box-shadow: 0px 1px 2px rgba(13, 20, 33, 0.1);
}

.box-shadow-2 {
  box-shadow: 0px 2px 4px rgba(13, 20, 33, 0.1);
}

.box-shadow-3 {
  box-shadow: 0px 4px 8px rgba(13, 20, 33, 0.1);
}

.box-shadow-4 {
  box-shadow: 0px 6px 12px rgba(13, 20, 33, 0.1);
}

.box-shadow-5 {
  box-shadow: 0px 8px 16px rgba(13, 20, 33, 0.1);
}

.box-shadow-6 {
  box-shadow: 0px 12px 24px rgba(13, 20, 33, 0.1);
}

.box-shadow-7 {
  box-shadow: 0px 16px 32px rgba(13, 20, 33, 0.1);
}

.threedot-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb {
  align-items: center;
  margin-bottom: 0;
}

.breadcrumb-item {
  font-size: 12px;
}

  .breadcrumb-item a {
    color: #969ca5;
    font-size: 12px;
    font-weight: normal;
    border-bottom: none;
  }

  .breadcrumb-item.active {
    color: #212834;
    font-size: 12px;
    font-weight: normal;
    cursor: default;
  }

  .breadcrumb-item + .breadcrumb-item {
    padding-right: 8px;
  }

    .breadcrumb-item + .breadcrumb-item::before {
      font-family: "Font Awesome 5 Pro";
      content: "\f053";
      padding-left: 8px;
    }

.breadcrumb-back-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #212834;
  font-size: 12px;
  font-weight: normal;
  border-bottom: none;
  padding-left: 12px;
  margin-left: 12px;
  border-left: 1px solid #cdd0d4;
}

.tab-border {
  border-bottom: solid 2px #d8dadd;
}



/* table */
.seprate-row-8 {
  border-collapse: separate;
  border-spacing: 8px !important;
}

.seprate-row-y12 {
  border-collapse: separate;
  border-spacing: 0 12px !important;
}

.max-w-1280 {
  max-width: 1280px;
  margin: 0 auto;
}

span {
  cursor: default;
}

button span {
  cursor: pointer;
}

a span {
  cursor: pointer;
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  background-image: url("assets/image/icons/accordion-arow-down.svg") !important;
}

.accordion-button:not(.collapsed) {
  color: #757c89 !important;
}

.accordion-button:focus {
  border-color: #757c89 !important;
}

/* editor */
.angular-editor {
  border: solid 1px #adb1b8 !important;
  border-radius: 8px !important;
}

.angular-editor-toolbar {
  background-color: #F9F9FA !important;
  border: none !important;
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
}

.angular-editor .angular-editor-wrapper .angular-editor-textarea {
  border: none !important;
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

.angular-editor-toolbar .angular-editor-toolbar-set .foreground :after {
  left: -14px !important;
}

.custom-radio-20px {
  width: 20px;
  height: 20px;
}

.role-bg-blue-lighter {
  padding: 9px 20px 8px;
  border-radius: 21px;
  background-color: #eff5ff;
}

.n-switch-toggle .mat-slide-toggle-bar {
  width: 28px !important;
  height: 16px !important;
  border-radius: 12px !important;
}

.n-switch-toggle .mat-slide-toggle-bar {
  background-color: #adb1b8 !important;
}

.n-switch-toggle.mat-slide-toggle.mat-dark.mat-checked .mat-slide-toggle-bar {
  background-color: #3c4350 !important;
}

.n-switch-toggle.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar {
  background-color: #0055ef !important;
}

.n-switch-toggle.mat-slide-toggle.mat-success.mat-checked .mat-slide-toggle-bar {
  background-color: #39b663 !important;
}

.n-switch-toggle.mat-slide-toggle.mat-danger.mat-checked .mat-slide-toggle-bar {
  background-color: #dc131d !important;
}

[dir=rtl] .n-switch-toggle .mat-slide-toggle-bar, .n-switch-toggle .mat-slide-toggle-label-before .mat-slide-toggle-bar {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.n-switch-toggle.mat-slide-toggle.mat-dark.mat-checked .mat-slide-toggle-thumb,
.n-switch-toggle.mat-slide-toggle.mat-success.mat-checked .mat-slide-toggle-thumb,
.n-switch-toggle.mat-slide-toggle.mat-danger.mat-checked .mat-slide-toggle-thumb,
.n-switch-toggle.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb {
  background-color: #fff !important;
  margin-right: -3px !important;
}

.n-switch-toggle.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb {
  background-color: #fff !important;
  margin-right: -3px !important;
}

.n-switch-toggle .mat-slide-toggle-thumb {
  height: 14px !important;
  width: 14px !important;
  border-radius: 50% !important;
  margin-top: 4px !important;
  margin-right: 1px !important;
  margin-left: 0px !important;
}

.n-switch-toggle.mat-slide-toggle .mat-slide-toggle-ripple {
  display: none !important;
}

.profile-a {
  color: #171e2b;
  border-right: solid 4px #ffffff;
  height: 32px;
}

  .profile-a:hover {
    color: #1065ff;
    font-family: IRANYekan-bold;
    font-weight: bold;
    border-right: solid 4px #1065ff;
    border-bottom: none;
    height: 32px;
  }

@-moz-document url-prefix() {
  paginator input {
    width: 50px !important;
  }
}

.custom-dropdown .dropdown-toggle::after,
.custom-dropdown.dropdown-toggle::after {
  content: "\f107";
  font-family: "Font Awesome 5 Pro";
  border: none;
}

.custom-dropdown .dropdown-toggle-up::after {
  content: "\f106" !important;
  font-family: "Font Awesome 5 Pro";
  border: none;
}

.white-space-nowrap {
  white-space: nowrap;
}


/* gray-tree */
.gray-tree li div {
  background-color: #e4e5e7;
  font-size: 12px;
  font-weight: bold;
}

.gray-tree li ul li div {
  background-color: #eeeff1;
  font-size: 11px;
  font-weight: bold;
}

.gray-tree li ul li ul li div {
  background-color: #f9f9fa;
  font-size: 11px;
  font-weight: normal;
}

/* light-tree */
.light-tree li > div {
  background-color: #FFFFFF;
  font-size: 12px;
  font-weight: normal;
  border: solid 1px #EEEFF1;
}

.light-tree li ul li > div {
  background-color: #FFFFFF;
  font-size: 11px;
  font-weight: normal;
  border: solid 1px #EEEFF1;
}

.light-tree li ul li ul li > div {
  background-color: #FFFFFF;
  font-size: 11px;
  font-weight: normal;
  border: solid 1px #EEEFF1;
}

.tree-gray .tree-checkbox {
  color: red !important;
}


.light-tree li ul li > div > label > div > input[type=checkbox]::before,
light-tree li ul li ul li > div > label > div > input[type=checkbox]::before {
  color: #ffffff !important;
}


.box-card-no-top {
  box-shadow: 0 2px 4px -1px rgb(13 20 33 / 10%) !important;
}

.no-bottom-border-radius {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.no-top-border-radius {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}


.btn-outline-blue-light {
  color: #0055ef;
  background-color: #cfe0ff;
}

  .btn-outline-blue-light:hover {
    color: #fff;
    background-color: #0055ef;
  }

.btn-outline-danger-light {
  color: #dc131d;
  background-color: #fef0f1;
}

  .btn-outline-danger-light:hover {
    color: #fef0f1;
    background-color: #dc131d;
  }

.btn-outline-blue-lighter {
  color: #0055ef;
  background-color: #eff5ff;
}

  .btn-outline-blue-lighter:hover {
    color: #eff5ff;
    background-color: #0055ef;
  }

.skeletation-screen {
  box-shadow: 0 4px 10px 0 rgba(33, 33, 33, 0.15);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  background-color: white;
}

  .skeletation-screen::before {
    content: '';
    display: block;
    position: absolute;
    left: -150px;
    top: 0;
    height: 100%;
    width: 200px;
    background: linear-gradient(to right, transparent 0%, #E8E8E8 50%, transparent 100%);
    animation: skeletationscreenload 3s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  }

@keyframes skeletationscreenload {
  from {
    left: -150px;
  }

  to {
    left: 100%;
  }
}

.static-error-page-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  padding: 12px;
  background-color: #FBD3D5;
  border-radius: 8px;
  font-size: 14px;
  color: #212529;
  position: sticky;
  z-index: 9;
  width: 100%;
  text-align: right;
  font-size: 12px;
}

  .static-error-page-box i {
    font-size: 20px;
  }

.static-error-modal-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  padding: 12px 18px 12px 12px;
  background-color: #FBD3D5;
  border-radius: 8px;
  font-size: 14px;
  color: #212529;
  position: sticky;
  z-index: 10;
  top: 0px;
  width: 100%;
  text-align: right;
  font-size: 12px;
}

  .static-error-modal-box i {
    font-size: 20px;
  }

    .static-error-modal-box i.fa.fa-times {
      font-size: 12px;
      color: #4F5663
    }

.dropdown-menu {
  z-index: 8 !important;
  border: 1px solid #EEEFF1;
  box-shadow: 0 4px 12px rgba(13, 20, 33, 0.15);
  min-width: auto !important;
  width: auto !important;
  max-width: 250px;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-divider {
  margin: 8px 0;
  border-top: 1px solid #EEEFF1;
}

.leaflet-container {
  z-index: 7;
}

.font-initial {
  font-family: initial;
}

.tabs-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.object-fit-contain {
  object-fit: contain !important;
}

span[dir='ltr'] {
  text-align: left
}

.btn-outline-gray:hover {
  color: #000 !important;
}

.pagination-border-light > div {
  border: solid 1px #eeeff1 !important;
}

.text-overflow-wrap {
  overflow-wrap: anywhere;
}

.custom-flasher-danger-spinner-thin {
  background-clip: content-box;
  padding: 2px;
  border: solid 1px #dc131d;
  box-shadow: 0 0 0 0px #dc131d, 0 0 0 3px white, 0 0 0 4px #dc131d;
}

.custom-flasher-danger-spinner {
  background-clip: content-box;
  padding: 3px;
  border: solid 0px #dc131d;
  box-shadow: 0 0 0 1px #dc131d, 0 0 0 3px white, 0 0 0 5px #dc131d;
  background-color: #dc131d;
}

.custom-date-dis .input-group .form-control:disabled, .custom-date-dis .input-group .form-control[readonly] {
  margin-top: 0;
  height: auto;
  border: none;
}

.disabled-link {
  pointer-events: none;
  text-decoration: none;
  color: lightgray;
  cursor: default;
}

.odd-even-message-box:nth-child(odd) {
  background: #FFF4CF;
  color: #EF8200;
}

.odd-even-message-box:nth-child(even) {
  background: #EFF5FF;
  color: #1065FF;
}

.score {
  border-radius: 12px;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  padding: 2px 12px 1px;
  font-size: 10px;
  height: 20px;
}

.score-weak {
  background-color: #ef4049;
}

.score-middle {
  background-color: #efb900;
}

.score-good {
  background-color: #ef8200;
}

.score-very-good {
  background-color: #13b3fc;
}

.score-excellent {
  background-color: #39b663;
}


.x-size-slider-bar.ngx-slider {
  margin: 4px 0 24px !important;
}

  .x-size-slider-bar.ngx-slider .ngx-slider-bar {
    height: 8px !important;
    border-radius: 4px;
  }

  .x-size-slider-bar.ngx-slider .ngx-slider-pointer:after {
    width: 16px !important;
    height: 16px !important;
  }

.overflow-x-auto {
  overflow-x: auto;
}

.overflow-y-auto {
  overflow-y: auto;
}

a[disabled='true'] {
  color: #B8BBC1 !important;
  pointer-events: none !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

button[disabled] {
  cursor: default;
  pointer-events: none !important;
}

.wh-10px {
  width: 10px;
  height: 10px;
}

.wh-16px {
  width: 16px;
  height: 16px;
}

.wh-22px {
  width: 22px;
  height: 22px;
}

.wh-32px {
  width: 32px;
  height: 32px;
}

lov > .input_btn-group > button:last-child {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

lov > .input-group.input_btn-group {
  padding-left: 0px !important;
}

.h-379px {
  height: 379px;
}

.h-260px {
  height: 260px;
}

.h-145px {
  height: 145px;
}

.h-116px {
  height: 116px;
}

.h-104px {
  height: 104px;
}

.h-68px {
  height: 68px;
}

.h-54px {
  height: 54px;
}

.h-40px {
  height: 40px;
}

.h-45px {
  height: 45px;
}

.h-34px {
  height: 34px !important;
}

.h-32px {
  height: 32px;
}

.h-28px {
  height: 28px;
}

.w-36px {
  width: 36px;
}

.w-120px {
  width: 120px;
}

.w-184px {
  width: 184px;
}

.accordion-item {
  border: none;
}

/*.box-secondary {
  background-color: #EFF5FF;
  color: #0055EF;
}*/

.box-success {
  background-color: #F3FBF6;
  border: solid 1px #AAE4BE;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.box-primary {
  background-color: #EFF5FF;
  border: solid 1px #8FB7FF;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.box-info {
  background-color: #F0FEFF;
  border: solid 1px #BFF9FF;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.box-warning {
  background-color: #FFF8EF;
  border: solid 1px #FFCC8F;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.box-pink {
  background-color: #FEF0F5;
  border: solid 1px #F6989D;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.box-indigo {
  background-color: #F5F2FC;
  border: solid 1px #B6A5E9;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/*.box-danger {
  background-color: #FEF0F1;
  border: solid 1px #FFCC8F;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.box-dark {
  background-color: #E4E5E7;
  color: #2A313D;
}*/

.box-orange {
  background-color: #FFF8EF;
  border: solid 1px #FFCC8F;
  padding: 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  ;
}

.box-black {
  background-color: #212834;
  color: #FFFFFF;
}

.box-default {
  background-color: #D8DADD;
  color: #0D1421;
}

.box-light {
  background-color: #F9F9FA;
  color: #171E2B;
}

.h-fit-content {
  height: fit-content;
}

.record-not-found {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table > :not(caption) > * > * {
  padding: 8px 12px;
  border-bottom: 1px solid #EEEFF1 !important;
  height: 48px;
  vertical-align: middle;
}

th {
  font-size: 12px;
  font-weight: 700;
}

td {
  font-size: 12px;
  font-weight: 500;
}

table > thead {
  height: 48px;
  background-color: #F9F9FA;
}

table > tfoot {
  height: 32px;
  background-color: #FFFFFF;
  border-top: 1px solid #EEEFF1
}

  table > tfoot > * > * {
    padding: 4px 12px !important;
  }

.text-indigo-60 {
  color: #8C72DD;
}

.table-responsive {
  border: 1px solid #EEEFF1;
  overflow-x: auto;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  text-align: center;
}

  /*.table-responsive table tr th:first-child,
.table-responsive table tr td:first-child {
    text-align: start;
    padding-right: 40px;
}*/

  .table-responsive tbody {
    min-height: 300px;
  }

  .table-responsive tfoot {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

    .table-responsive tfoot tr td {
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }

.table-responsive-pagination {
  min-height: 300px;
  border: 1px solid #EEEFF1;
  border-bottom: none;
  overflow-x: auto;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.table tr:last-child > td {
  border-bottom: none !important;
}

.cut-text {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 200px;
  white-space: nowrap;
}

.app-user-panel-content {
  font-size: 14px;
}

.mud-menu {
  width: 15px !important;
  height: 34px !important;
  margin: 0px !important;
}

.dropdown-item {
  font-size: 12px;
  padding: 6px 12px;
  color: #212834;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: #F9F9FA;
  color: #212834;
}

.dropdown-item:active,
.dropdown-item:focus {
  background-color: #EFF5FF;
  color: #0055EF;
}

.dropdown-item.disabled,
.dropdown-item:disabled {
  color: #757C89;
  pointer-events: none;
  background-color: transparent;
  cursor: default;
}

.dropdown-item i.fa-dot-circle {
  font-size: 12px;
  color: #D8DADD;
}

.dropdown-item i.fa-dot-circle.text-primary {
  color: #0055EF !important;
}

hr {
  color: #D8DADD;
  opacity: 1;
}

/* hover unset */
.font-family-unset:hover {
  font-family: unset !important;
}

.fs-unset:hover {
  font-size: unset !important;
}

.border-unset:hover {
  border: unset !important;
}

.text-color-unset:hover {
  color: unset !important;
}

/* more lengh text without space */
.overflow-wrap-anywhere {
  overflow-wrap: anywhere;
}

.search-group-main {
  height: 50px !important;
}

  .search-group-main input {
    height: 48px !important;
  }

  .search-group-main button {
    color: #ffffff;
    height: 40px !important;
    width: 40px !important;
    margin: 4px !important;
    border-radius: 6px !important;
    padding: unset !important;
  }

    .search-group-main button:hover,
    .search-group-main button:active,
    .search-group-main button:focus {
      color: #ffffff;
    }

.text-decoration-none {
  text-decoration: none;
}

.text-justify-content {
  text-align: justify;
}

.min-h-auto {
  min-height: auto !important;
}

.max-h-auto {
  max-height: auto !important;
}

tr {
  background-color: white !important;
}

  tr:hover {
    background-color: #F5F2FC !important;
    color: #4829A7 !important;
  }

    tr:hover td {
      color: #4829A7 !important;
    }

td {
  background-color: transparent !important;
}

tr.disabled {
  span {
    color: #ADB1B8 !important;
  }
}

.lov-modal-body table.table-striped > tbody > tr:nth-of-type(odd) > td,
.lov-modal-body table.table-striped > tbody > tr:nth-of-type(even) > td {
  background-color: transparent !important;
}

/* ============================================ */
/* MudBlazor Input Styles                      */
/* Height: 36px, Content: 20px height          */
/* Placeholder: 12px, #D8DADD, 500 weight      */
/* Content: 14px, #212834, 500 weight          */
/* Padding: 8px top/bottom, 12px start         */
/* ============================================ */

.mud-input {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #212834 !important;
}

.mud-input-control {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.mud-input {
  align-content: center !important;
  align-items: center !important;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
}

  .mud-input:hover {
    border-start-start-radius: 8px !important;
    border-start-end-radius: 8px !important;
    border-end-start-radius: 8px !important;
    border-end-end-radius: 8px !important;
    background-color: rgba(0,0,0,0.03) !important;
  }

  /* MudBlazor input text elements */
  .mud-input > input.mud-input-root,
  .mud-input-slot.mud-input-root,
  input.mud-input-slot,
  .mud-input-root {
    height: 20px !important;
    line-height: 20px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #212834 !important;
    box-sizing: content-box !important;
    direction: rtl !important;
    text-align: right !important;
  }

  /* Force MudBlazor number inputs to RTL */
  .mud-input > input[type="number"].mud-input-root,
  input[type="number"].mud-input-slot,
  input[type="number"].mud-input-root {
    direction: rtl !important;
    text-align: right !important;
  }

  /* MudBlazor placeholder styling */
  .mud-input > input.mud-input-root::placeholder,
  .mud-input-slot.mud-input-root::placeholder,
  input.mud-input-slot::placeholder,
  .mud-input-root::placeholder {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #D8DADD !important;
    padding-left: 6px;
    direction: rtl !important;
    text-align: right !important;
  }

/* MudBlazor placeholder label (when shown as placeholder) */
.mud-input-label {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #D8DADD !important;
}

div.mud-input:has(textarea) {
  align-content: baseline !important;
  min-height: min-content !important;
  max-height: max-content !important;
}

textarea.mud-input-root-outlined {
  align-content: baseline !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #212834 !important;
}

  textarea.mud-input-root-outlined::placeholder {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #D8DADD !important;
  }

input.mud-input-slot[inputmode="decimal"] {
  padding: 8px 12px !important;
  height: 20px !important;
  line-height: 20px !important;
}

.mud-input-root-outlined {
  align-content: center !important;
}

/* ============================================ */
/* Irisa Offcanvas Component                   */
/* ============================================ */

.irisa-offcanvas {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 0;
  bottom: 0;
  width: 400px;
  padding: 12px 16px;
  background-color: white;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 10000;
}

@media (max-width: 450px) {
  .irisa-offcanvas {
    width: 90%;
  }
}

/* RTL direction (default for Persian) */
html[dir="rtl"] .irisa-offcanvas.start {
  right: 0;
  transform: translateX(100%);
}

html[dir="rtl"] .irisa-offcanvas.end {
  left: 0;
  transform: translateX(-100%);
}

html[dir="rtl"] .irisa-offcanvas.show {
  transform: translateX(0);
  opacity: 1;
}

/* LTR direction */
html[dir="ltr"] .irisa-offcanvas.start {
  left: 0;
  transform: translateX(-100%);
}

html[dir="ltr"] .irisa-offcanvas.end {
  right: 0;
  transform: translateX(100%);
}

html[dir="ltr"] .irisa-offcanvas.show {
  transform: translateX(0);
  opacity: 1;
}

.irisa-offcanvas-header {
  height: 64px;
}

.irisa-offcanvas-body {
  height: calc(100vh - 140px);
  overflow: auto;
}

.irisa-offcanvas-footer {
  height: 64px;
}

@media (max-width: 450px) {
  .irisa-offcanvas-body {
    height: calc(100vh - 176px);
    overflow: auto;
  }

  .irisa-offcanvas-footer {
    height: 100px;
  }
}

.irisa-offcanvas-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

/* ============================================ */
/* LOV Modal Styles                            */
/* ============================================ */

.lov-modal .modal-body {
  font-size: 12px !important;
}

.h-30px {
  height: 30px !important;
}

button.input-group-text.border-0 {
  outline: none !important;
}

.filter.dropdown-toggle::after {
  content: none;
}

.my-search .cancel-btn {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

/* ============================================ */
/* Gallery Styles                              */
/* ============================================ */

.gallery-controll {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  color: #6c757d;
}

  .gallery-controll:hover {
    color: #495057;
  }

  .gallery-controll.left {
    left: -30px;
  }

  .gallery-controll.right {
    right: -30px;
  }

.thumbnail-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 40px;
}

  .thumbnail-wrapper img {
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
  }

    .thumbnail-wrapper img.active {
      border-color: #0055EF;
    }

    .thumbnail-wrapper img:hover {
      border-color: #8FB7FF;
    }

.fit-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shadow-box {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.skeletation-screen {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ============================================ */
/* Additional Utility Classes                  */
/* ============================================ */

.w-40px {
  width: 40px;
}

.pageSize {
  min-width: 60px;
  height: 28px !important;
  padding: 2px 8px !important;
}

/* ============================================================ */
/* Shared Admin Data Table Infrastructure (DataGridComponent)  */
/* ============================================================ */

.admin-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-title {
    margin: 0;
    color: #0d0d0d;
    font-family: var(--font-admin);
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

.data-table-container {
    overflow: hidden;
    border: 1px solid #e4e5e7;
    border-radius: 8px;
    background: #ffffff;
}

.table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid #e4e5e7;
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-admin);
}

.data-table thead {
    background-color: #f9f9fa;
}

.data-table th {
    padding: 12px 16px;
    border-bottom: 1px solid #e4e5e7;
    color: #6a6f77;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e4e5e7;
    color: #3f4349;
    font-size: 14px;
    text-align: right;
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: #f9f9fa;
}

.th-actions,
.td-actions {
    width: auto;
    text-align: center !important;
}

.empty-table-message {
    padding: 24px !important;
    color: #6a6f77;
    text-align: center !important;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--font-admin);
    font-size: 12px;
    font-weight: 500;
    min-width: max-content;
}

.status-badge.active   { background-color: #e8f5e9; color: #43a047; }
.status-badge.inactive { background-color: #ffebee; color: #e53935; }
.status-badge.warning  { background-color: #fff8e1; color: #f9a825; }
.status-badge.info     { background-color: #e3f2fd; color: #1565c0; }

/* Action chips */
.action-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: max-content;
}

.action-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #e5e7eb);
    background: var(--surface, #fff);
    color: var(--text-primary, #111827);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
    line-height: 1;
}

.action-chip:hover:not(:disabled) {
    background: var(--surface-hover, #f3f4f6);
    border-color: var(--border-hover, #d1d5db);
}

.action-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-chip.edit {
    color: var(--primary, #4f46e5);
    border-color: var(--primary-light, #c4b5fd);
    background: var(--primary-lightest, #f5f3ff);
}

.action-chip.edit:hover:not(:disabled) {
    background: var(--primary-light, #ede9fe);
    border-color: var(--primary, #4f46e5);
}

.action-chip.secondary { color: var(--text-secondary, #6b7280); }

.action-chip.danger {
    color: var(--danger, #dc2626);
    border-color: var(--danger-light, #fca5a5);
    background: var(--danger-lightest, #fff5f5);
}

.action-chip.danger:hover:not(:disabled) {
    background: var(--danger-hover, #fee2e2);
    border-color: var(--danger, #dc2626);
}

/* QC Q30: in-table action buttons render as plain outlined icons (per Figma) — not bordered/coloured
   chips. Scoped to .td-actions so text .action-chip buttons used elsewhere keep their pill style. */
.td-actions .action-chip,
.td-actions .action-chip.edit,
.td-actions .action-chip.secondary,
.td-actions .action-chip.danger {
    padding: 6px;
    border: 0;
    background: transparent;
    color: #59606c;
}

.td-actions .action-chip:hover:not(:disabled) {
    background: transparent;
    border-color: transparent;
    color: #1b1464;
}

.td-actions .action-chip.danger:hover:not(:disabled) {
    background: transparent;
    border-color: transparent;
    color: #bf101a;
}

/* Shared admin button styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 8px;
    height: 40px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background-color: #1b1464;
    color: #ffffff;
    cursor: pointer;
    font-family: var(--font-admin);
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.15s ease;
}

.btn-primary:hover:not(:disabled) { background-color: #120d45; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #d8dadd;
    border-radius: 8px;
    background: #ffffff;
    color: #3f4349;
    cursor: pointer;
    font-family: var(--font-admin);
    font-size: 14px;
    font-weight: 700;
}

.btn-secondary:hover:not(:disabled) { background: #f5f6f8; }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--danger, #dc2626);
    background: var(--danger, #dc2626);
    color: #fff;
    font-family: var(--font-admin);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.btn-danger:hover:not(:disabled) { background: #b91c1c; }
.btn-danger:disabled { opacity: 0.5; cursor: not-allowed; }

/* Search box used on pages without AdvancedSearchToolbar */
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 280px;
    padding: 8px 12px;
    border: 1px solid #d8dadd;
    border-radius: 8px;
    background: #ffffff;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #3f4349;
    font-family: var(--font-admin);
    font-size: 14px;
    text-align: right;
}

.search-box input::placeholder { color: #adb1b8; }

.search-icon { flex-shrink: 0; color: #adb1b8; }
