@font-face {
  font-family: FiraSans-Regular;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-Regular.ttf');
}

@font-face {
  font-family: FiraSans-Bold;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-Bold.ttf');
}

@font-face {
  font-family: FiraSans-Thin;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-Thin.ttf');
}

@font-face {
  font-family: FiraSans-Medium;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-Medium.ttf');
}

@font-face {
  font-family: FiraSans-Light;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-Light.ttf')
}

@font-face {
  font-family: FiraSans-Italic;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-Italic.ttf');
}

@font-face {
  font-family: FiraSans-SemiBold;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-SemiBold.ttf');
}

@font-face {
  font-family: FiraSans-ExtraLight;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-ExtraLight.ttf');
}

@font-face {
  font-family: FiraSans-ExtraBold;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-ExtraBold.ttf');
}

@font-face {
  font-family: FiraSans-Book;
  src: url('/ibe/5.5/fonts/fira-sans/FiraSans-Book.ttf')
}
:root{
--default-font-family: 'FiraSans-Regular';
--default-font-family-light: 'FiraSans-Light';
--default-font-family-medium: 'FiraSans-Medium';
--default-font-family-italic: 'FiraSans-Italic';
--default-font-family-semibold: 'FiraSans-SemiBold';
--default-font-family-bold: 'FiraSans-Bold';
--default-font-family-book: 'FiraSans-Book';
/* --main-bg-color: #09a4ae; */
/* --main-brand-color: #09a4ae; */
--width-desktop: 1152px;
--font-size-navbar: 15px;
}

body{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-family: var(--default-font-family);
  font-weight: 400;
  line-height: 1.6;
  color: #000000 !important;
  margin: 0 auto;
  padding: 20px;
  font-size: 15px;
}
a{
  color: var(--link-color);
  font-size: 13px;
}
input[type="text"]{
  transition: all .2s ease-in-out;
}
.wrapper-input input[type="text"]:hover, .wrapper-input select:hover{
  background-color: #fafafa;
}
.wrapper-input input[type="text"]:focus{
  background-color: #fff;
}
.wrapper-input select:hover{
  cursor: pointer;
}
input[type="password" i]{
  width: 100%;
  padding: .5rem 1rem;
  margin: 0;
  box-sizing: border-box;
  border-radius: 6px;
  height: 38px !important;
  border: 1px solid #BCBCBC;
  color: #000 !important;
  font-family: var(--default-font-family);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}

input[type="password"]:focus{
  border: 1px solid var(--main-bg-color);
}

input[type=checkbox]{
  width: 1.35em;
  height: 1.35em;
}

input[type=checkbox]::before, input[type=checkbox]:before {
    content: "";
    width: .85em;
    height: .85em; 
}

.success {
  color: #28a745;
}
.invalid, .error, .invalid {
  color: #dc3545;
}
.suspended, .inactive, .verify_email, .reset_required{
  color: #fd7e14; 
}
.reset_required{
  color: #007bff;
}

.file-label {
  display: inline-block;
  background-color: #aaa;   /* grey background */
  color: white !important;
  font-weight: bold;
  text-align: center;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  font-family: var(--default-font-family-bold);
  font-size: 13px !important;
  line-height: 15px;
}

.file-label:hover {
  background-color: #888;   /* darker on hover */
}

.file-label:active {
  background-color: #666;   /* pressed state */
}
.wrapper-input{
  margin-bottom: 20px;
}
.wrapper-input .row{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.wrapper-input:last-child{
  margin-bottom: 0;
}
.wrapper-input.last{
  grid-column: 1/3;
}
.wrapper-input label{
  text-transform: uppercase;
  color: #2B2B2B;
  letter-spacing: 1px;
  font-size: 10px;
  margin-bottom: 10px;
  display: block;
  width: fit-content;
}
.wrapper-input.row label{
  margin: 0;
  font-size: 14px;
  text-transform: initial;
}
.wrapper-input input, .wrapper-input select{
  font-family: var(--default-font-family-light);
  font-size: 13px;
}
.table-container {
    background: white;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background-color: #757575;
    color: white;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 500;
    /* border-left: 1px solid #000; */
    border-right: 1px solid #000;
    font-size: 14px;
    text-align: center !important;
}

.table th:first-child {
    width: 160px;
    text-align: center;
    /* border: 0; */
}
.table th:last-child{
  border: 0;
}

.table td {
    padding: 1rem 0.75rem;
    /* border-bottom: 1px solid #e9ecef; */
    font-size: 14px;
    border-right: 1px solid #000;
    max-width: 120px;
}
.table td:last-child{
  border: 0;
  max-width: 50px;
  text-align: center;
}
.table td:first-child {
    text-align: center;
    /* border-right: 1px solid #000; */
}

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

.radio-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #000;
    position: relative;
    cursor: pointer;
}

.radio-btn.selected {
    border-color: #000;
    background-color: white;
}

.radio-btn.selected::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: var(--main-bg-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.actions-cell {
    color: #000;
    /* text-decoration: underline; */
    cursor: pointer;
    font-size: 0.85rem;
}

.actions-cell:hover {
    color: #0056b3;
}
.cell-content{
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    padding: 0 1rem;
    border: 1px solid #ddd;
    background: var(--button-color);
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    /* padding: 0; */
    height: 37px;
    width: fit-content;
}
.btn-danger{
  background: #bd362f;
  color: #ffffff;
}
.btn-default {
  background: #e7e7e7;
  border-color: #e7e7e7;
  color: #000;
}
.btn-save{
  min-width: 110px;
  background-color: var(--main-bg-color);
  color: #fff;
  font-family: var(--default-font-family-bold);
  line-height: 15px;
  font-size: 13px;
  border-radius: 4px;
  height: 37px;
  display: block;
}
.btn-save:hover{
  opacity: .8;
}
.action-buttons .btn{
  border: 0;
  font-family: var(--default-font-family);
  font-size: 13px;
  line-height: 15px;
}
.btn-download:hover, .btn-payment:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
    color: #000;
}
.btn-download::before {
    content: url('/ibe/5/assets/images/ta_encore/Download.svg');
}
.btn-payment::before {
    content: url('/ibe/5/assets/images/ta_encore/Apply-Payment.svg');
}
.action-buttons {
    display: flex;
    gap: 20px;
}

#searchContainer {
    display: inline-block;
    position: relative;
}

.btn-search, .btn-calendar{
    font-size: 16px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #f2f2f2;
    color: #000;
    font-family: var(--default-font-family-medium);
}
.btn-search::before {
    content: url('/ibe/5/assets/images/ta_encore/Search-Icon.svg');
}
.btn-calendar::before{
    content: url('/ibe/5/assets/images/ta_encore/Search-Icon.svg');
}

.fade-in {
  animation: fadeInRTL 0.3s ease forwards;
  transform-origin: right;
}

.fade-out {
  animation: fadeOutRTL 0.3s ease forwards;
  transform-origin: right;
}

@keyframes fadeInRTL {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes fadeOutRTL {
  from {
    opacity: 1;
    transform: scaleX(1);
  }
  to {
    opacity: 0;
    transform: scaleX(0);
  }
}
.header-controls {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-start;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.dataTables_length select{
  min-width: 60px ;
}
.header h1 {
    font-size: 38px;
    font-family: var(--default-font-family-light);
    font-weight: 300;
    color: #000;
    margin: 0;
}
.header .subtitle{
  font-size: 28px;
  font-family: var(--default-font-family-light);
  line-height: 33px;
}
.header h2 {
  font-size: 28px;
  font-family: var(--default-font-family-light);
  font-weight: 300;
  color: #000;
  margin: 0;
}
.search-box {
    position: relative;
}
.navbar img{
  max-height: 85px;
}

.search-box input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 200px;
}
.footer-form{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  grid-column: 1/3;
}
.loading-body{
  background: rgba(0, 0, 0, 0.5);
}
.wrapper-title{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* margin-bottom: 20px; */
}
.wrapper-title h3{
  margin: 0;
  font-size: 28px;
  font-family: var(--default-font-family-light);
  font-weight: 300;
}
button.dt-button {

  margin: 0 !important;
  color: #222;
  display: flex;
  align-items: center;
  padding: 8px 24px;
  height: 37px;
  border-radius: 5px;

  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .5px;
  cursor: pointer;
  font-family: var(--default-font-family-bold);
  transition: all .5s ease-in-out;
  outline: none;
}

/* 
 * The following styles are for the loading CSS spinner component.
 * They define the appearance and animation for the loader-spinner class.
 */

.ar_c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  /* gap: 20px; */
  height: 100%;
  width: fit-content;
  margin: 0 auto;
}
.loader-spinner {
  width: 50px;
  aspect-ratio: 1.154;
  position: relative;
  background: conic-gradient(from 120deg at 50% 64%, #0000, #fff 1deg 120deg, #0000 121deg);
  animation: l27-0 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
  /* top: 30%; */
}
.loader-spinner{
  background: conic-gradient(from 120deg at 50% 64%, #0000, var(--main-bg-color) 1deg 120deg, #0000 121deg) !important;
  /* margin: 30px auto; */
}
.loader-spinner:before,
.loader-spinner:after {
  content: '''';
  position: absolute;
  inset: 0;
  background: inherit;
  transform-origin: 50% 66%;
  animation: l27-1 1.5s infinite;
}

.loader-spinner:after {
  --s: -1;
}

@keyframes l27-0 {

  0%,
  30% {
    transform: rotate(0)
  }

  70% {
    transform: rotate(120deg)
  }

  70.01%,
  100% {
    transform: rotate(360deg)
  }
}

@keyframes l27-1 {
  0% {
    transform: rotate(calc(var(--s, 1)*120deg)) translate(0)
  }

  30%,
  70% {
    transform: rotate(calc(var(--s, 1)*120deg)) translate(calc(var(--s, 1)*-5px), 10px)
  }

  100% {
    transform: rotate(calc(var(--s, 1)*120deg)) translate(0)
  }
}

/*
 * Custom styling for DataTable component.
 * This stylesheet contains overrides and enhancements to the default DataTable appearance.
 * Adjusts table layout, header, row, and cell styles for improved UI consistency and readability.
 */

 .dataTables_filter{
  padding-bottom: 10px;
}
table.dataTable.no-footer{
  margin: 0;
  width: 100% !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
  border: 0 !important;
  margin-bottom: 20px;
}
table.dataTable{
  border-radius: 6px;
  overflow: hidden;
}
.dataTables_length>label{
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
}

table.dataTable tbody tr.selected>*{
  box-shadow: initial !important;
  color: initial !important;
}
table.dataTable>thead>tr>th, table.dataTable>thead>tr>td{
  font-family: var(--default-font-family-light);
}
table.dataTable tbody th, table.dataTable tbody td{
  font-size: 12px;
  word-wrap: break-word;
}

.datatable-container {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
}

.dataTables_filter input {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 6px 10px;
  margin-left: 8px;
  outline: none;
  transition: border 0.2s ease-in-out;
}

.dataTables_filter input:focus {
  border-color: var(--main-bg-color);
  box-shadow: 0 0 4px var(--main-bg-color);
}

/* Optional: move search bar to the right */
.dataTables_filter {
  float: right;
}

/*
 * Custom styling for table cells populated via AJAX response.
 * Use these styles to enhance the appearance and formatting of dynamically loaded table data.
 */

.divDateCalendar {
  border-left: solid 1px black !important;
}
.rowRomDesc{
  background-color: var(--main-bg-color);
  color: #fff;
  padding: 8px 16px !important;
  border: 0 !important;
  font-family: var(--default-font-family-light);
}


/*
 * Dropdown component for table <a>.
 * Provides a user interface element to select options related to table <a>.
 * Typically used for actions such as filtering, sorting, or performing row-specific operations.
 */

.action-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 99999;
    display: block !important;
}

.dropdown-content {
    display: none;
    top: 100%;
    right: 0;
    position: absolute;
    right: 0;
    margin-top: 4px;
    background-color: #fff;
    min-width: 140px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    overflow: hidden;
    z-index: 9999;
}

.action-dropdown.active.last-item .dropdown-content {
    bottom: 100%;
    top: initial;
}
.dropdown-content a {
    /* display: flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: var(--font-size-navbar);
    text-align: center; */

    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.action-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-action-dropdown, .payment-action-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  width: 50px;
}

.btn-action-dropdown:hover, .payment-action-dropdown:hover {
  background-color: #e9ecef;
  color: #111;
  border-color: #ccc;
}

/* Active state */
.dropdown.action-dropdown.active .btn-action-dropdown, 
.btn-action-dropdown:active, 
.dropdown.action-dropdown.active .payment-action-dropdown,  
.payment-action-dropdown:active {
  background-color: var(--button-color);
  color: #fff;
  border-color: var(--button-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) inset;
}


/* 
 * This section defines the styles and behavior for the table tabs interface.
 * It manages the appearance, layout, and interactive states of the tab elements
 * used to switch between different table views or datasets.
 */

.tabs-container {
  margin: 20px auto;
  width: 100%;
  max-width: 1200px;
  font-family: Arial, sans-serif;
}

.tabs-nav {
  list-style: none;
  display: flex;
  border-bottom: 2px solid #ddd;
  margin: 0;
  padding: 0;
}

.tabs-nav .tab {
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 6px 6px 0 0;
  margin-right: 4px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
}

.tabs-nav .tab:hover {
  background: #f4f4f4;
}

.tabs-nav .tab.active {
  background: var(--button-color);
  color: white;
}

.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 6px 6px 6px;
  background: #fff;
  /* box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
  box-shadow: 0px 1px 6px #00000029;
}

.tab-content.active {
  display: block;
}
.tab-content .table {
  width: 100%;
  border-collapse: collapse;
  /* margin-top: 10px; */
}

#global-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}
.loading-text{
  margin: 0;
  font-size: 16px;
}

input[type="number"] {
    width: 100%;
    padding: .5rem 1rem;
    /* margin: 5px 0 15px; */
    margin: 0;
    box-sizing: border-box;
    border-radius: 6px;
    height: 38px !important;
    border: 1px solid #BCBCBC;
    color: #000 !important;
    font-family: var(--default-font-family);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
}

#global-loader .loader-content {
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}

#global-loader .spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #0095ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.choices__list--single .choices__item{
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 16px;
  font-size: 13px;
  text-transform: uppercase;
  max-width: 135px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.choices__list--single{
  padding: 0 !important;
  height: 100%;
}
.choices{
  overflow: initial !important;
}
.choices__inner{
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  overflow: hidden !important;
  width: 100% !important; 
  border: 1px solid #BCBCBC !important;
  border-radius: 4px !important;
}
.choices__list--dropdown, .choices__list[aria-expanded]{
  /* width: 300px !important; */
  width: 100% !important;
}
.flatpickr-days{
  width: initial !important;
}
.form-cal .dayContainer{
  row-gap: 0;
}
.form-cal .flatpickr-day{
  height: initial !important;
}
.form-cal .flatpickr-days{
  width: initial;
}
.form-cal .flatpickr-calendar{
  box-shadow: 1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08) !important;
  width: initial !important;
}
.form-cal .flatpickr-days{
  /* border: 1px solid #939393; */
  border: 0;
  border-radius: 6px;
  margin-top: initial;
}
.form-cal .flatpickr-months{
  border-bottom: initial !important;
  padding-bottom: initial !important;
}
.form-cal .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay{
  border-color: var(--main-bg-color) !important;
}
.form-cal .flatpickr-calendar.open{
  z-index: 9;
  /* width: 300px !important; */
}
.form-cal .flatpickr-current-month .flatpickr-monthDropdown-months{
  text-transform: initial;
}

.form-cal span.flatpickr-weekday{
  text-transform: initial;
}
.flatpickr-day.selected, .flatpickr-day.startRange{
  border-color: var(--main-bg-color) !important;
}

.link-redirect{
  font-size: 16px;
  margin: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  transition: all 0.3s ease;
}
.link-redirect:hover{
  opacity: .8;
}
.group-input{
  display: grid;
  grid-template-columns: 1fr .3fr;
  width: 100%;
  gap: 10px;
}
.twocolumn{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}


/* Counter Container */
.counter-container {
  /* font-family: sans-serif; */
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
  /* width: 150px; */
  min-width: auto;
}

.counter-label {
  font-weight: bold;
  font-size: 14px;
  color: #333;
}

.counter-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #BCBCBC;
  border-radius: 4px;
  /* padding: 0 5px; */
  padding: 5px;
  max-height: 38px;
  min-width: 100px;
  height: 100%;
  gap: 10px;
}

.counter-controls button {
  background: #f0f0f0;
  border: none;
  border-radius: 4px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--link-color);
  padding: 0;
}

.counter-controls button:hover {
  background: #e0e0e0;
}

.counter-controls button:disabled {
  color: #ccc;
  cursor: not-allowed;
}

#display-value {
  font-size: 13px;
  /* font-weight: 600; */
  min-width: 20px;
  text-align: center;
  color: #000;
}

.radio-group {
  display: flex;
  /* gap: 20px; */
  flex-wrap: wrap;
  border: 1px solid #ccc;
  margin: 0;
  border-radius: 5px;
  width: 100%;
  max-width: 100%;
}

.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease;
  margin: 0;
  padding: 10px;
  width: 100%;
  border-bottom: 1px solid #cccc;
}
.radio-group label:last-child{
  border-bottom: 0;
}

.radio-group label:hover {
  color: #007bff;
}

.radio-group input[type="radio"] {
  margin-right: 6px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #007bff;
  border: 1px solid var(--main-bg-color);
}
input[type=radio]::before{
  box-shadow: inset 1em 1em var(--main-bg-color);
}
.two-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.flatpickr-current-month span.cur-month{
  font-size: 13px;
}
.flatpickr-current-month .numInputWrapper{
  height: fit-content;
  font-size: 13px;
}
.flatpickr-current-month{
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.flatpickr-current-month input.cur-year{
  height: fit-content !important;
}