﻿/* ========= Hero Floating ========= */
@font-face {
  font-family: "twobit";
  src: url("../fonts/HRSystemCheques.ttf") format("truetype");
}
@keyframes heroFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

.side-hero {
  animation: heroFloat 4s zoomIn infinite;
  background-size: contain;
}
@media (max-width: 1024px) {
  .side-hero {
    background-size: auto;
    background-repeat: no-repeat;
  }
}
/* ========= Fade Up ========= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

.fade-delay-1 {
  animation-delay: 0.2s;
}

.fade-delay-2 {
  animation-delay: 0.4s;
}

.fade-delay-3 {
  animation-delay: 0.6s;
}

/* ========= Login Card ========= */
.login-card {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}

.header {
  background-color: #009ef7 !important;
}

.header .btn-custom {
  background-color: #ffffff !important;
}
.ActionSize {
  font-size: 20px !important;
}

html[dir="ltr"] .CustomMarginLeftLogo {
  margin-left: 29% !important;
}

html[dir="rtl"] .CustomMarginLeftLogo {
  margin-right: 29% !important;
}

html[dir="ltr"] .MarginLeftAuto {
  margin-left: auto !important;
}

html[dir="rtl"] .MarginLeftAuto {
  margin-right: auto !important;
}
/* ===== Flatpickr RTL (only when page is RTL) ===== */
html[dir="rtl"] .flatpickr-calendar {
  direction: rtl !important;
  text-align: center !important;
}

html[dir="rtl"] .flatpickr-weekdaycontainer {
  flex-direction: row-reverse !important;
}

html[dir="rtl"] .flatpickr-days {
  direction: rtl !important;
}

html[dir="rtl"] .flatpickr-months .flatpickr-prev-month {
  right: auto !important;
  left: 0.75rem !important;
}

html[dir="rtl"] .flatpickr-months .flatpickr-next-month {
  left: auto !important;
  right: 0.75rem !important;
}

html[dir="rtl"] .flatpickr-months .flatpickr-current-month {
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 0.5rem !important;
}

html[dir="rtl"] .flatpickr-current-month .numInputWrapper {
  margin-right: 0.25rem !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .flatpickr-current-month input.cur-year {
  padding-right: 0.25rem !important;
  padding-left: 0 !important;
  text-align: center !important;
}

html[dir="rtl"] .flatpickr-time {
  direction: ltr !important;
  text-align: center !important;
}

html[dir="rtl"] .flatpickr-time .flatpickr-am-pm {
  margin-left: 0.5rem !important;
  margin-right: 0 !important;
}

.LayoutHiddenSettings {
  display: none;
}

/* Alert BA*/
.SW-alert-modal .SW-alert-btn-secondary {
  background-color: #eff5ff;
  color: #434545;
  font-size: 11px;
  border: 0;
  height: 30px;
  width: 110px;
  border-radius: 4px;
  margin-left: 15px;
  border: 2px solid #434545;
}

.SW-alert-modal .SW-alert-btn-secondary:hover {
  background-color: #e3eaf3 !important;
}

.SW-alert-modal .SW-alert-btn-primary {
  background-color: #008cff;
  color: #fff;
  font-size: 11px;
  border: 0;
  height: 30px;
  width: 110px;
  border-radius: 4px;
  margin-left: 15px;
}

.SW-alert-modal button {
  font-size: 14px;
}

/* Alert Model BA*/
html[dir="rtl"] .SW-alert-modal-contanier {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

html[dir="ltr"] .SW-alert-modal-contanier {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

html[dir="rtl"] .SW-alert-modal {
  background-color: white;
  width: 371px;
  /*height: 355px;
    */
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  -ms-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  -webkit-border-radius: 2px !important;
  -moz-border-radius: 2px !important;
  -ms-border-radius: 2px !important;
  border-radius: 16px !important;
  /**/
  padding: 47px 60px;
  text-align: center !important;
  /*coloring*/
  /*custom color*/
  /*Sizing*/
}

html[dir="ltr"] .SW-alert-modal {
  background-color: white;
  width: 371px;
  /*height: 355px;
    */
  -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  -moz-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  -ms-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.7) !important;
  -webkit-border-radius: 2px !important;
  -moz-border-radius: 2px !important;
  -ms-border-radius: 2px !important;
  border-radius: 16px !important;
  /**/
  padding: 47px 43px;
  text-align: center !important;
  /*coloring*/
  /*custom color*/
  /*Sizing*/
}

.SW-alert-modal .SW-alert-icon {
  width: 60px;
  height: 60px;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -ms-border-radius: 50% !important;
  border-radius: 50% !important;
  /**/
  margin-left: auto;
  margin-right: auto;
}

.SW-alert-modal .SW-alert-icon i {
  font-size: 32px;
}

.SW-alert-modal .SW-alert-Title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.SW-alert-modal .SW-alert-Message {
  font-size: 14px;
  color: #868e96;
  margin-bottom: 47px;
}

.SW-alert-modal .SW-alert-Bigbutton {
  width: 180px;
  height: 40px;
  cursor: pointer;
  border: 0;
  color: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  -ms-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
  -ms-border-radius: 4px !important;
  border-radius: 4px !important;
  /**/
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.SW-alert-modal .SW-alert-btn-secondary {
  width: 100px;
  height: 40px;
  border: 2px solid #e3eaf3;
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
  -ms-border-radius: 4px !important;
  border-radius: 4px !important;
  /**/
  color: #7090ab;
  background-color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.SW-alert-modal .SW-alert-btn-secondary:hover {
  background-color: #e2e9ee !important;
}

.SW-alert-modal .SW-alert-btn-primary {
  min-width: 100px;
  padding: 0 10px;
  height: 40px;
  cursor: pointer;
  border: 0;
  color: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  -ms-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18) !important;
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
  -ms-border-radius: 4px !important;
  border-radius: 4px !important;
  /**/
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.SW-alert-modal button {
  font-size: 14px;
}

.SW-alert-modal[SW-alert-type="success"] .SW-alert-icon {
  background-color: #ebfbee;
  border: 1px solid #d3f9d8;
}

.SW-alert-modal[SW-alert-type="success"] .SW-alert-icon i {
  color: #40c057;
}

.SW-alert-modal[SW-alert-type="success"] .SW-alert-icon path {
  fill: #40c057;
}

.SW-alert-modal[SW-alert-type="success"] .SW-alert-Bigbutton {
  background-color: #56b349;
}

.SW-alert-modal[SW-alert-type="success"] .SW-alert-Bigbutton:hover {
  background-color: #49983e !important;
}

.SW-alert-modal[SW-alert-type="error"] .SW-alert-icon {
  background-color: #fff4e6;
  border: 1px solid #ffe8cc;
}

.SW-alert-modal[SW-alert-type="error"] .SW-alert-icon i {
  color: #fa5252;
}

.SW-alert-modal[SW-alert-type="error"] .SW-alert-icon path {
  fill: #fa5252;
}

.SW-alert-modal[SW-alert-type="error"] .SW-alert-Bigbutton {
  background-color: #fa5252;
}

.SW-alert-modal[SW-alert-type="error"] .SW-alert-Bigbutton:hover {
  background-color: #fa5252 !important;
}

.SW-alert-modal[SW-alert-type="confirmation"] .SW-alert-icon {
  background-color: #fff5f5;
  border: 1px solid #ffe4e4;
}

.SW-alert-modal[SW-alert-type="confirmation"] .SW-alert-icon i {
  color: #fa5252;
}

.SW-alert-modal[SW-alert-type="confirmation"] .SW-alert-icon path {
  fill: #fa5252;
}

.SW-alert-modal[SW-alert-type="confirmation"] .SW-alert-btn-primary {
  background-color: #f03e3e;
}

.SW-alert-modal[SW-alert-type="confirmation"]
  .SW-alert-btn-primary.SW-alert-btn-primary-green {
  background-color: #008cff !important;
}

.SW-alert-modal[SW-alert-type="confirmation"] .SW-alert-btn-primary:hover {
  background-color: #cc3535 !important;
}

.SW-alert-modal[SW-alert-type="confirmation"]
  .SW-alert-btn-primary:hover.SW-alert-btn-primary-green {
  background-color: #2f9741 !important;
}

.SW-alert-modal.SW-alert-modal-green .SW-alert-icon {
  background-color: #ebfbee;
  border: 1px solid #d3f9d8;
}

.SW-alert-modal.SW-alert-modal-green .SW-alert-icon i {
  color: #40c057;
}

.SW-alert-modal.SW-alert-modal-green .SW-alert-btn-primary {
  background-color: #008cff;
}

.SW-alert-modal.SW-alert-modal-green .SW-alert-btn-primary:hover {
  background-color: #2f9741 !important;
}

.SW-alert-modal.SW-alert-modal-lg {
  width: 500px;
}

[SW-alert-type="success"] svg,
[SW-alert-type="error"] svg,
[SW-alert-type="confirmation"] svg {
  width: 32px;
}

.SW-toster-alert {
  position: fixed;
  top: 3px;
  margin: 0 3px;
  padding: 11px 35px;
  background-color: rgba(34, 139, 34, 0.9);
  background-color: #228b22;
  opacity: 0.9;
  color: #fff;
  z-index: 9999;
  font-size: 14px;
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
  -ms-border-radius: 4px !important;
  border-radius: 4px !important;
  /**/
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
  -ms-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer;
  -webkit-transition: opacity 500ms ease-in-out;
  -moz-transition: opacity 500ms ease-in-out;
  -ms-transition: opacity 500ms ease-in-out;
  transition: opacity 500ms ease-in-out;
  /*\transition: opacity 500ms;
     -webkit-transition: opacity 500ms;
     -o-transition: opacity 500ms;
     -moz-transition: opacity 500ms;
    */
}

.SW-toster-alert svg {
  width: 15px;
  height: 15px;
}

.SW-toster-alert svg path {
  fill: #fff;
}

.SW-toster-alert .txt-message {
  font-size: 14px;
  color: #fff;
}

html[dir="ltr"] .SW-alert-modal button:not(:last-child) {
  margin-right: 20px;
}

html[dir="ltr"] .SW-toster-alert {
  right: 0;
}

html[dir="ltr"] .SW-toster-alert .txt-message {
  margin-left: 10px;
}

html[dir="rtl"] .SW-toster-alert {
  left: 0;
}

html[dir="rtl"] .SW-toster-alert .txt-message {
  margin-right: 10px;
}

html[dir="ltr"] .SW-toster-alert {
  right: 0;
}

html[dir="ltr"] .SW-toster-alert .txt-message {
  margin-left: 10px;
}

.SW-animated {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.swal2-container {
  z-index: 20000 !important;
}

html[dir="rtl"] .PopupHeaderClose {
  margin-left: 12px;
}

html[dir="ltr"] .PopupHeaderClose {
  margin-right: 12px;
}

html[dir="rtl"] .PopupHeaderClose2 {
  margin-left: 12px;
}

html[dir="ltr"] .PopupHeaderClose2 {
  margin-right: 12px;
}

.PopupHeaderClose label {
  font-size: 20px;
  cursor: pointer;
}

.PopupHeaderTitle {
  margin-left: auto;
  margin-right: auto;
}

.PopupHeaderTitle2 {
  margin-left: auto;
  margin-right: auto;
}

.PopupHeaderTitle label {
  font-weight: bold !important;
  font-size: 15px;
}

.PopupHeaderClose2 label {
  font-size: 15px;
  cursor: pointer;
}

.PopupHeaderTitle2 label {
  font-weight: bold !important;
  font-size: 12px;
}

.role-permissions-form {
 /* max-width: 800px;*/
  margin: 0 auto;
  overflow-x: scroll;
  padding: 20px;
}

.permission-row {
  transition: background-color 0.2s ease;
}

.permission-row:hover {
  background-color: #f8f9fa;
}

.permission-actions .form-check {
  margin-bottom: 0;
}

.permission-label {
  font-weight: 500;
  min-width: 200px;
}

.form-check-input:checked {
    background-color: #009EF7;
    border-color: white;
}

.btn-link {
  text-decoration: none;
  font-size: 14px;
}

.btn-link:hover {
  text-decoration: underline;
}

.notification-item {
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.notification-item:hover {
  background-color: #f8f9fa;
}

.notification-item.unread {
  background-color: #f0f8ff;
  border-left: 3px solid #007bff;
}

.notification-item.read {
  opacity: 0.8;
}

.pagination-controls {
  border-top: 1px solid #e1e3ea;
  background-color: #f8f9fa;
}

.loading-spinner {
  display: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

@-webkit-keyframes rollOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

@keyframes rollOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
    transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
  }
}

.rollOut {
  -webkit-animation-name: rollOut;
  animation-name: rollOut;
}

@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

@-webkit-keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInDown {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInDown {
  -webkit-animation-name: zoomInDown;
  animation-name: zoomInDown;
}

@-webkit-keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInLeft {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInLeft {
  -webkit-animation-name: zoomInLeft;
  animation-name: zoomInLeft;
}

@-webkit-keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInRight {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInRight {
  -webkit-animation-name: zoomInRight;
  animation-name: zoomInRight;
}

@-webkit-keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomInUp {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomInUp {
  -webkit-animation-name: zoomInUp;
  animation-name: zoomInUp;
}

@-webkit-keyframes zoomOut {
  from {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  to {
    opacity: 0;
  }
}

@keyframes zoomOut {
  from {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  to {
    opacity: 0;
  }
}

.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut;
}

@-webkit-keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomOutDown {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomOutDown {
  -webkit-animation-name: zoomOutDown;
  animation-name: zoomOutDown;
}

@-webkit-keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

@keyframes zoomOutLeft {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
    transform: scale(0.1) translate3d(-2000px, 0, 0);
    -webkit-transform-origin: left center;
    transform-origin: left center;
  }
}

.zoomOutLeft {
  -webkit-animation-name: zoomOutLeft;
  animation-name: zoomOutLeft;
}

@-webkit-keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

@keyframes zoomOutRight {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
  }

  to {
    opacity: 0;
    -webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
    transform: scale(0.1) translate3d(2000px, 0, 0);
    -webkit-transform-origin: right center;
    transform-origin: right center;
  }
}

.zoomOutRight {
  -webkit-animation-name: zoomOutRight;
  animation-name: zoomOutRight;
}

@-webkit-keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

@keyframes zoomOutUp {
  40% {
    opacity: 1;
    -webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
    -webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  to {
    opacity: 0;
    -webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
    animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
  }
}

.zoomOutUp {
  -webkit-animation-name: zoomOutUp;
  animation-name: zoomOutUp;
}

@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}

@-webkit-keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
}

@-webkit-keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
}

@-webkit-keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInUp {
  from {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInUp {
  -webkit-animation-name: slideInUp;
  animation-name: slideInUp;
}

@-webkit-keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes slideOutDown {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.slideOutDown {
  -webkit-animation-name: slideOutDown;
  animation-name: slideOutDown;
}

@-webkit-keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes slideOutLeft {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.slideOutLeft {
  -webkit-animation-name: slideOutLeft;
  animation-name: slideOutLeft;
}

@-webkit-keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes slideOutRight {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.slideOutRight {
  -webkit-animation-name: slideOutRight;
  animation-name: slideOutRight;
}

@-webkit-keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

@keyframes slideOutUp {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
}

.slideOutUp {
  -webkit-animation-name: slideOutUp;
  animation-name: slideOutUp;
}

/*default drop zone*/
.SW-dropzone-default {
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
  -ms-border-radius: 4px !important;
  border-radius: 8px !important;
  /**/
  border: dashed 2px #008cff;
  height: 150px;
  background-color: #ffffff;
  padding: 0;
  min-height: unset !important;
}

.SW-dropzone-default.dz-started {
  text-align: center;
}

.SW-dropzone-default .dz-message {
  margin: 0;
}

.SW-dropzone-default .dz-message .SW-dropzone-Droparea {
  padding: 16px;
}

.SW-dropzone-default
  .dz-message
  .SW-dropzone-Droparea
  .SW-dropzone-Droparea-icon {
  font-size: 32px;
  color: #008cff;
  text-align: center;
}

.SW-dropzone-default
  .dz-message
  .SW-dropzone-Droparea
  .SW-dropzone-Droparea-msg {
  font-size: 13px;
  font-weight: bold;
  color: #1a2128;
  text-align: center !important;
}

.SW-dropzone-default
  .dz-message
  .SW-dropzone-Droparea
  .SW-dropzone-Droparea-msg
  .SW-dropzone-Droparea-msg-browse {
  color: #008cff;
}

.SW-dropzone-default .dz-preview {
  background-color: transparent !important;
}

.SW-dropzone-default .dz-preview .dz-success-mark,
.SW-dropzone-default .dz-preview .dz-error-mark,
.SW-dropzone-default .dz-preview .dz-progress {
  display: none;
}

.SW-dropzone-default .dz-preview .dz-remove {
  font-size: 13px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  text-decoration: none;
  line-height: normal;
  letter-spacing: normal;
  color: #536371;
  margin-top: 16px;
}

.SW-dropzone-default .dz-size,
.SW-dropzone-default .dz-filename {
  text-align: center !important;
}

/*multi Dropzone*/
.SW-dropzone-multi {
  background-color: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: unset !important;
}

.SW-dropzone-multi .dz-message {
  display: none;
}

.SW-dropzone-multi .SW-dropzone-items .SW-dropzone-item {
  display: flex;
  align-items: center;
  background-color: #f3f6f9;
  padding: 6px 13px;
  margin-top: 10px;
  font-size: 12px;
  -webkit-border-radius: 4px !important;
  -moz-border-radius: 4px !important;
  -ms-border-radius: 4px !important;
  border-radius: 4px !important;
  /**/
}

.SW-dropzone-multi .SW-dropzone-items .SW-dropzone-item .dropzone-file {
  word-break: break-all;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

html[dir="rtl"]
  .SW-dropzone-multi
  html[dir="rtl"]
  .SW-dropzone-items
  html[dir="rtl"]
  .SW-dropzone-item
  html[dir="rtl"]
  .dropzone-file
  html[dir="rtl"]
  .dropzone-filename {
  direction: ltr;
}

html[dir="ltr"]
  .SW-dropzone-multi
  html[dir="ltr"]
  .SW-dropzone-items
  html[dir="ltr"]
  .SW-dropzone-item
  html[dir="ltr"]
  .dropzone-file
  html[dir="ltr"]
  .dropzone-filename {
  direction: rtl;
}

.SW-dropzone-multi .SW-dropzone-items .SW-dropzone-item a.dz-remove {
  display: none;
}

.SW-dropzone-multi .SW-dropzone-items .SW-dropzone-item .dropzone-delete {
  font-size: 20px;
  color: #7e8299;
  cursor: pointer;
}

.dropzone .dz-message {
  margin: 0;
  display: block !important;
  text-align: center !important;
}

.SW-dropzone-requiredarea {
  display: none;
}

.dropzone .dz-preview.dz-image-preview {
  margin-top: -109px;
  background-color: white !important;
}

/* Custom styles for the accordion */
.accordion-item {
  border-radius: 0.375rem;
  background-color: #fff;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  background-color: white;
  border-bottom: 0px solid #dee2e6;
  margin: 0;
  border-radius: 8px;
}

.accordion-header .form-check {
  flex-grow: 1;
}

.accordion-header .form-check-label {
  font-weight: 500;
  user-select: none;
}

.collapse-toggle {
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  background-color: #fff !important;
}

.collapse-toggle:hover {
  background-color: #e9ecef !important;
  border-color: #adb5bd !important;
  transform: scale(1.1);
}

.collapse-toggle:active {
  transform: scale(0.95);
}

.collapse-icon {
  transition: transform 0.2s ease;
  font-size: 12px;
}

.accordion-collapse {
  transition: none !important; /* Remove Bootstrap's default transition for instant show/hide */
}

.accordion-collapse.show {
  display: block !important;
}

.accordion-collapse:not(.show) {
  display: none !important;
}

.accordion-body {
  background-color: #f1faff;
}

/* Selected state styling */
.accordion-item.selected {
  background-color: #f0f8ff;
}

.accordion-item {
  border: 0px !important;
}

.accordion-item.selected .accordion-header {
  background-color: #009EF7;
  color: white !important;
  border-radius: 8px;
}

/* Animation for the chevron */
.collapse-icon.fa-chevron-up {
  transform: rotate(0deg);
}

.collapse-icon.fa-chevron-down {
  transform: rotate(180deg);
}

#weightEntriesTable td {
  width: 100% !important;
  min-width: 150px; /* Optional: set a minimum width for readability */
}

#weightEntriesTable {
  table-layout: auto; /* Allow table to expand naturally */
  width: auto; /* Let table grow as needed */
}

.has-error {
  background-color: #fff5f5;
}

.has-warning {
  background-color: #fffbf0;
}

.net-weight-error {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.net-weight-error i {
  margin-right: 0.25rem;
}

.row-validation-error {
  background-color: #fff5f5 !important;
  border-left: 3px solid #dc3545 !important;
}

.row-validation-error .net-weight-value {
  color: #dc3545;
  font-weight: bold;
}

.weight-reading {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Smooth number transitions */
#weightDisplay {
  transition: all 0.3s ease-in-out;
}

/* Hover effect for the weight card */
.card.bg-light-primary:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease-in-out;
}

.Step3Class .card {
  transition: all 0.3s ease;
}

.Step3Class .card:hover {
  transform: translateY(-2px);
}

.Step3Class .table-review {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.Step3Class .table-review thead {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.Step3Class .table-review tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid #eff2f5;
}

.Step3Class .table-review tbody tr:hover {
  background-color: #f8f9fa;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.Step3Class .entry-row-number {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.Step3Class .weight-badge {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-block;
}

.Step3Class .info-label {
  color: #7e8299;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.Step3Class .empty-state {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px;
  border: 2px dashed #e1e3ea;
}

.Step3Class .empty-state-icon {
  font-size: 4rem;
  color: #b5b5c3;
  margin-bottom: 1rem;
}

.SuppliersScrollableContainer {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 20px 0;
}

/* Table Styling */
.table-6 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styling */
#HeaderReport {
  background: #009EF7;
  position: sticky;
  top: 0;
  z-index: 10;
}

#HeaderReport th {
  color: white;
  font-weight: 600;
  font-size: 10px;
  padding: 16px 12px;
  border: none;
  position: relative;
  background-color: #009EF7;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#HeaderReport th:hover {
  background: #009EF7 !important;
  cursor: pointer;
}

#HeaderReport th::after {
  content: "↕";
  margin-left: 8px;
  opacity: 0.6;
  font-size: 10px;
}

/* Body Styling */
#ReportBody {
  background: #fafbfc;
}

#ReportBody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid #eef2f7;
}

#ReportBody tr:hover {
  background: #f8f9ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#ReportBody td {
  padding: 14px 12px;
  color: #2d3748;
  font-size: 13px;
  border: none;
  background: transparent;
}

/* Column Borders */
html[dir="ltr"] .FirstColumn {
  border-left: 3px solid #009EF7 !important;
}

html[dir="rtl"] .FirstColumn {
  border-right: 3px solid #009EF7 !important;
}

.LastColumn {
  border-right: 1px solid #e2e8f0;
}

/* Counter Column */
#ReportBody td:first-child {
  font-weight: 600;
  color: #667eea;
  background: #f7f9fc;
}

/* No Data Styling */
#ReportBody tr td[colspan] {
  padding: 40px 20px;
  color: #718096;
  font-style: italic;
  text-align: center;
  background: #fefefe;
}

/* Scrollable Container */
.SuppliersScrollableContainer {
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: scroll;
  border: 1px solid #e2e8f0;
}

.scroll-div2 {
  max-height: 60vh;
  overflow-y: auto;
}

/* AntiForgery Token */
.AntiForgeryHidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .SuppliersScrollableContainer {
    margin: 10px 0;
    border-radius: 8px;
  }

  .table-6 {
    font-size: 12px;
  }

  #HeaderReport th,
  #ReportBody td {
    padding: 10px 8px;
  }
}

/* Loading State */
#ReportBody.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Sort Indicators */
th[data-sorted="asc"]::after {
  content: " ↑" !important;
  opacity: 1 !important;
}

th[data-sorted="desc"]::after {
  content: " ↓" !important;
  opacity: 1 !important;
}

/* Main Container */
.hed-padding {
  padding: 20px 0;
}

.hed-padding label {
  color: #2d3748;
  font-weight: 700;
  font-size: 28px !important;
  margin-bottom: 0;
}

/* Report Body Container */
.ReportBody {
  min-height: 20vh;
  padding: 30px;
}

/* Helpdesk Grid */
.helpdesk-container {
  max-width: 1200px;
  margin: 0 auto;
}

.helpdesk-manuals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 24px;
  padding: 20px 0;
}

/* Report Cards */
.helpdesk-manual-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.helpdesk-manual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.helpdesk-manual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

/* Card Content */
.helpdesk-manual-title {
  color: #2d3748;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.helpdesk-manual-description {
  color: #718096;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Layout */
.helpdesk-manual-card .card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
}

.helpdesk-manual-card .card-body > div:first-child {
  flex: 1;
  margin-right: 20px;
}

/* SVG Icon Styling */
.helpdesk-manual-card svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.helpdesk-manual-card:hover svg {
  transform: scale(1.1);
}

/* Empty State */
.helpdesk-manuals-grid:empty::before {
  content: "No reports available";
  text-align: center;
  color: #718096;
  font-style: italic;
  grid-column: 1 / -1;
  padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ReportBody {
    padding: 20px 15px;
  }

  .hed-padding label {
    font-size: 24px !important;
  }

  .helpdesk-manuals-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .helpdesk-manual-card {
    padding: 20px;
  }

  .helpdesk-manual-card .card-body {
    flex-direction: column;
  }

  .helpdesk-manual-card .card-body > div:first-child {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Animation for card appearance */
@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.helpdesk-manual-card {
  animation: cardAppear 0.5s ease-out;
}

/* Stagger animation for multiple cards */
.helpdesk-manual-card:nth-child(1) {
  animation-delay: 0.1s;
}

.helpdesk-manual-card:nth-child(2) {
  animation-delay: 0.2s;
}

.helpdesk-manual-card:nth-child(3) {
  animation-delay: 0.3s;
}

.helpdesk-manual-card:nth-child(4) {
  animation-delay: 0.4s;
}

.helpdesk-manual-card:nth-child(5) {
  animation-delay: 0.5s;
}

@media (max-width: 768px) {
  .card-body .row {
    text-align: center;
  }

  .card-body .row > div:first-child {
    display: none; /* Hide left spacer on mobile */
  }

  .card-body .row > div:nth-child(2) {
    order: 1;
    margin-bottom: 1rem;
  }

  .card-body .row > div:last-child {
    order: 2;
    justify-content: center !important;
  }

  .card-body .row > div:last-child .d-flex {
    justify-content: center !important;
  }
}

.weight-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.475rem;
  font-weight: 600;
}

.entry-row-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.475rem;
  font-weight: 600;
}

.table-review {
  border-collapse: separate;
  border-spacing: 0;
}

.table-review thead tr th {
  background: #f9f9f9;
  border-bottom: 2px solid #eff2f5;
  padding: 1rem;
}

.table-review tbody tr {
  transition: all 0.3s ease;
}

.table-review tbody tr:hover {
  background: #f9fafb;
}

.table-review tbody tr td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #eff2f5;
}

.select2-container--open {
  z-index: 999119 !important;
}

.select2-dropdown {
  z-index: 991199 !important;
}

/* Limit month select width */
.safi-month-select {
  max-width: 120px !important;
  flex-shrink: 0 !important;
}

/* Ensure year select is visible */
.safi-year-select {
  max-width: 80px !important;
  min-width: 80px !important;
  flex-shrink: 0 !important;
}

/* Make sure the month container allows both to fit */
.flatpickr-current-month {
  display: flex !important;
  gap: 5px !important;
  justify-content: center !important;
}

/* Prevent Select2 from expanding */
.flatpickr-current-month .select2-container {
  flex-shrink: 0 !important;
}

.select2-container .select2-selection--single {
  width: auto !important;
}

.scale-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
}

.animation-area {
  position: relative;
  height: 200px;
  background: linear-gradient(to bottom, #87ceeb 0%, #b0e0e6 100%);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

.road {
  position: absolute;
  bottom: 40px;
  width: 100%;
  height: 60px;
  background: #4a4a4a;
  border-top: 3px dashed #ffd700;
  border-bottom: 3px solid #333;
}

.scale-platform {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 15px;
  background: linear-gradient(to bottom, #34495e, #2c3e50);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.scale-platform::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 10px;
  right: 10px;
  height: 5px;
  background: #e74c3c;
  border-radius: 3px;
}

@keyframes wheelRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.wheel-front {
  left: 20px;
}

.wheel-back1 {
  left: 60px;
}

.wheel-back2 {
  left: 115px;
}

.status-display {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 30px;
  border-radius: 15px;
  margin-top: 20px;
  text-align: center;
}

.status-text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  transition: color 0.3s ease;
}

.weight-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: 48px;
  font-weight: bold;
  color: #2c3e50;
}

.weight-unit {
  font-size: 24px;
  color: #7f8c8d;
}

.controls {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

#readWeightBtn {
  background: linear-gradient(135deg, #27ae60, #229954);
  color: white;
}

#readWeightBtn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

#readWeightBtn:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  opacity: 0.6;
}

#toggleDirBtn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

#toggleDirBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-pulse {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

#weightStatus {
  margin-top: 20px;
  padding: 15px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 5px;
  font-weight: 500;
  color: #856404;
  display: none;
}

#weightStatus.show {
  display: block;
}

.card-side-buttons {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-side-buttons .btn {
  border-radius: 5px 0 0 5px;
  padding: 5px 8px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RTL Support */
html[dir="rtl"] .card-side-buttons {
  right: auto;
  left: 0;
}

html[dir="rtl"] .card-side-buttons .btn {
  border-radius: 0 5px 5px 0;
}

.card {
  position: relative;
}


.circle-hidden-right-primary {
    position: relative;
}

    .circle-hidden-right-primary::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #2397E5;
        border-radius: 50%;
        mask-image: linear-gradient( to right, black 0%, black 50%, transparent 50%, transparent 100% );
        z-index: 0;
    }

    .circle-hidden-right-primary > * {
        position: relative;
        z-index: 1;
    }

.circle-hidden-left-primary {
    position: relative;
}

    .circle-hidden-left-primary::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #2397E5;
        border-radius: 50%;
        mask-image: linear-gradient( to left, black 0%, black 50%, transparent 50%, transparent 100% );
        z-index: 0;
    }

    .circle-hidden-left-primary > * {
        position: relative;
        z-index: 1;
    }

.select2-container .select2-selection--single {
    height: 40px !important;
    padding: 10px 12px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
}