@charset "UTF-8";

.offcanvas-content{
  background-color: #354052;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
}

.offcanvas-close{
  background-color: #354052;
  color: white;
  top: 0;
  right: 0;
  position: absolute;
}

.back-to-top-wrapper{
  position: fixed;
  background-color: white;
  left: 10px;
  bottom: 10px;
  opacity: 0;
  transition: opacity 160ms ease;
  z-index: 500;
  display: none;
}
.back-to-top-wrapper.show{
  opacity: 1;
  display: block;
}
/*#region .dropdown-menu*/
.dropdown-menu {
  position: absolute;
  z-index: 1001;
  display: none;
  right: 0px;
  /*min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: white;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  right: 0;*/
}
.dropdown-menu.show {
  display: flex;
  flex-direction: column;
}
/*#endregion*/

/*#region .table-textbox*/
.table-textbox-wrapper{
  max-height: 30vh;
  overflow: auto;
}
.table-textbox{
  width: 100%;
  margin: auto;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
}
.table-textbox thead th{
  text-align: left;
  font-weight: 600;
  background: #f5f7fb;
  border-bottom: 1px solid #d9d9d9;
}
.table-textbox tbody td{
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}
.table-textbox tbody tr:last-child td{
  border-bottom: none;
}
/*#endregion*/

/*#region .collapse*/
.collapse:not(.show){
  display: none !important;
}
.collapse.show{
  display: block !important;
}
/*#endregion*/

/*#region .filterable*/
.filterable{
  display: none !important;
}
.filterable.show{
  display: block !important;
}
/*#endregion*/

/*#region .query-card*/
.query-card{
  display: none !important;
}
.query-card.show{
  display: block !important;
}
/*#endregion*/

/*#region .query-select*/
.queryselect-input{
  display: none !important;
}
.queryselect-input.show{
  display: block !important;
}
.queryselect-select{
  display: none !important;
}
.queryselect-select.show{
  display: block !important;
}
.queryselect-option{
  cursor: pointer;
  color: black !important;
  display: none !important;
}
.queryselect-option.show{
  display: block !important;
}
/*#endregion*/

/*#region .multiselect*/
.multiselect-select{
  display: none !important;
}
.multiselect-select.show{
  display: block !important;
}
.multiselect-header{
  display: none !important;
}
.multiselect-header.show{
  display: block !important;
}
.multiselect-info{
  display: none !important;
}
.multiselect-info.show{
  display: block !important;
}
/*#endregion*/

/*#region .upload-info*/
.upload-info{
  display: none !important;
}
.upload-info.show{
  display: block !important;
}
/*#endregion*/

/*#region .popover*/
.popover{
  display: none;
  z-index: 1000;
  position: absolute;
  border: 1px solid #838383;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  background-color: white;
  opacity: 0;
  transform: scale(0.1);
}
.popover.show{
  display: block;
  opacity: 1;
  transform: scale(1);
}
.popover-content{
  max-height: 70vh;
  overflow: auto;
}
/*#endregion*/

/*#region .modal*/
.modal{
  display: none;
  z-index: 1000;
  position: fixed;
  border: 1px solid #838383;
  transition: opacity 0.5s ease-in-out;
  background-color: white;
  opacity: 0;
  width: 40%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.5rem;
  -webkit-box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.25); 
  box-shadow: 5px 5px 15px 5px rgba(0,0,0,0.25);
}
@media (max-width: 1099px){
  .modal{
    width:80% !important;
  }
}
.modal-content{
  max-height: 70vh;
  overflow: auto;
}
.modal.show{
  display: block;
  opacity: 1;
}
.overlay{
  display: none; 
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.overlay.show{
  display: block;
}
/*#endregion*/

/*#region .error-toast*/
.error-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  background: #fff5f5; 
  border-left: 4px solid #dc3545;  
  color: #721c24;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: none;
  gap: 10px;
  align-items: flex-start;
  z-index: 1080;
  opacity: 0;
  transform: translateY(10px);
}
.error-toast.show{
  display: flex;
  opacity: 1;
  transform: translateY(0);  
  animation: fadeIn 220ms ease-out, slideUp 220ms ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(10px); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .error-toast { transition: none; animation: none; }
}
.error-toast-icon { font-size: 20px; margin-top: 2px; }
.error-toast-title { font-weight: 600; margin-bottom: 4px; }
.error-toast-msg { font-size: 14px; line-height: 1.2; }
.error-toast-actions { margin-left: auto; display:flex; gap:8px; align-items:center; }
.error-toast-btn { font-size:13px; padding:6px 8px; border-radius:6px; }
.error-toast-close { background:transparent; border:none; color:inherit; cursor:pointer; }

.info-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 360px;
  background: #fff5f5; 
  border-left: 4px solid #1fe60d;  
  color: #028b02;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  display: none;
  gap: 10px;
  align-items: flex-start;
  z-index: 1080;
  opacity: 0;
  transform: translateY(10px);
}
.info-toast.show{
  display: flex;
  opacity: 1;
  transform: translateY(0);  
  animation: fadeIn 220ms ease-out, slideUp 220ms ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(10px); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .info-toast { transition: none; animation: none; }
}
.info-toast-icon { font-size: 20px; margin-top: 2px; }
.info-toast-title { font-weight: 600; margin-bottom: 4px; }
.info-toast-msg { font-size: 14px; line-height: 1.2; }
.info-toast-actions { margin-left: auto; display:flex; gap:8px; align-items:center; }
.info-toast-btn { font-size:13px; padding:6px 8px; border-radius:6px; }
.info-toast-close { background:transparent; border:none; color:inherit; cursor:pointer; }
/*#endregion*/

/*#region .table*/
.table-foreground{
  z-index: 10;
}

tr.filterable.show{
  display: table-row !important;
}
tbody.filterable.show{
  display: table-row-group !important;
}
.filterable-main{
  display: none !important;
}
tr.filterable-main.show{
  display: table-row !important;
}
.filterable-addition{
  display: none !important;
}
tr.filterable-addition.show{
  display: table-row !important;
}
td.hide{
  display: none !important;
}
th.hide{
  display: none !important;
}

.align-top{
  vertical-align: top !important;
}

@media (max-width: 900px){
  table {
      width: 100%;
      table-layout: fixed; 
  }
  
  tr {
      display: block;
      width: 100%;
      border-bottom: 2px solid var(--bs-darkblue);
  }

  th {
      display: none;
  }
  
  td {
      display: block;
      width: 95% !important;
  }
}
/*#endregion*/

/*#region .extendable*/
.extendable-1{
    /*overflow: hidden;
    height: 25px;*/
    transition: height 0.3s ease-out;
}
.extendable-2{
    /*overflow: hidden;
    height: 75px;*/
    transition: height 0.3s ease-out;
}
.extendable-1.extended{
  height: auto;
}
.extendable-2.extended{
  height: auto;
}
.extendable-initial.show{
    display: block;
}
.extendable-full.show{
  display: block;
}
.extendable-full:not(.show){
    display: none;
}
.extendable-initial:not(.show){
  display: none;
}
/*#endregion */

/*#region .spinner*/
@-webkit-keyframes spinner-border {
  to {
    transform: rotate(360deg) /* rtl:ignore */;
  }
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg) /* rtl:ignore */;
  }
}
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: -0.125em;
  border: 0.25em solid var(--agt-darkblue);
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: 0.75s linear infinite spinner-border;
  animation: 0.75s linear infinite spinner-border;
  position: relative;
  left: calc(50% - 2rem);
  top: calc(50% - 2rem);
}
.spinner-overlay{
  display: none;
  z-index: 1000;
  position: absolute;
  background: grey;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}
.spinner-overlay.show{
  display: block;
}
/*#endregion */

/*#region .camera*/
.camera-preview {
  display: none;
}
.camera-preview.show {
  display: block;
}
/*#endregion */

/*#region display small-big*/
@media (max-width: 1100px){
  .d-small-screen{
    display: none !important;
  } 
  .d-small-screen.show{
    display: flex !important;
  } 
  .d-big-screen{
    display: none !important;
  }
  .search-input-head{
    /*width: auto !important;*/
  }
  .container-content{
    /*width: 90% !important;*/
  }
}

@media (min-width: 1100px){
  .d-small-screen{
    display: none !important;
  } 
  .input-group-small-display{
    display: none !important;
  }
  .d-big-screen{
    display: none !important;
  }
  .d-big-screen.show{
    display: block !important;
  }
}
/*#endregion*/

/*#region progress bar*/
@-webkit-keyframes progress-bar-stripes {
  0% {
    background-position-x: 1rem;
  }
}

@keyframes progress-bar-stripes {
  0% {
    background-position-x: 1rem;
  }
}
.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #0d6efd;
  transition: width 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar {
    transition: none;
  }
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  -webkit-animation: 1s linear infinite progress-bar-stripes;
  animation: 1s linear infinite progress-bar-stripes;
}
@media (prefers-reduced-motion: reduce) {
  .progress-bar-animated {
    -webkit-animation: none;
    animation: none;
  }
}
/*#endregion*/