:root {
  --app-primary: #0b6b78;
  --app-primary-dark: #075662;
  --app-primary-soft: #e8f6f8;
  --app-accent: #f59e0b;
  --app-accent-dark: #c76f00;
  --app-danger: #dc3545;
  --app-success: #198754;
  --app-page-bg: #f4f7f9;
  --app-surface: #ffffff;
  --app-border: #dce5ea;
  --app-border-strong: #bfd0d8;
  --app-text: #1f2a33;
  --app-muted: #647481;
  --app-radius: 8px;
  --app-radius-sm: 4px;
  --app-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
  --app-shadow-md: 0 10px 24px rgba(15, 23, 42, 0.1);
  --app-focus-ring: 0 0 0 0.2rem rgba(14, 162, 189, 0.22);
  --app-nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--app-page-bg);
}

body {
  margin: 0;
  padding: 0;
  color: var(--app-text);
  background: var(--app-page-bg);
  text-rendering: optimizeLegibility;
}

.app-navbar {
  background-color: var(--app-primary);
  box-shadow: var(--app-shadow-sm);
}

.app-navbar .navbar-brand img {
  max-height: 45px;
}

.app-navbar .nav-link {
  border-radius: var(--app-radius-sm);
  padding-inline: 0.75rem;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
  background: rgba(255, 255, 255, 0.12);
}

.app-dropdown-menu {
  background-color: var(--app-primary);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--app-shadow-md);
}

.app-lang-flag {
  display: inline-block;
  flex: 0 0 auto;
  width: 30px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  vertical-align: middle;
}

#navbarDropdownLanguage,
.app-lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.app-lang-link {
  color: #fff;
}

.app-lang-link.is-active {
  color: var(--app-accent);
}

.app-flash-container {
  top: calc(var(--app-nav-height) + 8px);
  z-index: 1055;
  width: min(92vw, 520px);
}

.app-flash-container .alert {
  min-width: 0;
  border: 0;
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow-md);
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 200px;
}

#name_filter {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
}

.options-container {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
}
.options-container select {
  width: 100%;
  border: none;
  outline: none;
  background-color: transparent;
}

.tableContainer {
  margin-top: calc(var(--app-nav-height) + 36px);
  padding-bottom: 3rem;
}

.card,
.modal-content,
.dropdown-menu {
  border-radius: var(--app-radius);
  border-color: var(--app-border);
}

.card {
  box-shadow: var(--app-shadow-sm);
}

.card-header {
  border-bottom-color: var(--app-border);
}

.form-control,
.form-select,
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
tfoot input {
  border-color: var(--app-border-strong);
  border-radius: var(--app-radius-sm);
  color: var(--app-text);
}

.form-control:focus,
.form-select:focus,
.dataTables_wrapper .dataTables_filter input:focus,
tfoot input:focus {
  border-color: var(--app-primary);
  box-shadow: var(--app-focus-ring);
}

.btn {
  border-radius: var(--app-radius-sm);
  font-weight: 600;
}

.btn-primary,
.main_btn {
  background-color: var(--app-primary);
  border-color: var(--app-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.main_btn:hover {
  background-color: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
}

.btn-warning {
  background-color: var(--app-accent);
  border-color: var(--app-accent);
  color: #1f2a33;
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: var(--app-accent-dark);
  border-color: var(--app-accent-dark);
  color: #fff;
}

.btn-outline-warning {
  color: var(--app-accent-dark);
  border-color: var(--app-accent);
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
  background-color: var(--app-accent);
  border-color: var(--app-accent);
  color: #1f2a33;
}

.table-responsive {
  border-radius: var(--app-radius);
}

.table {
  --bs-table-hover-bg: var(--app-primary-soft);
  color: var(--app-text);
}

.table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.table tbody td {
  font-size: 0.875rem;
}

.table tfoot input {
  width: 100%;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
}

.dataTables_wrapper {
  color: var(--app-text);
}

.dataTables_wrapper .row {
  row-gap: 0.75rem;
}

.dataTables_wrapper > .row {
  --bs-gutter-x: 0;
}

.dataTables_wrapper > .row.app-table-toolbar,
.dataTables_wrapper > .row.app-table-footer {
  align-items: center;
  padding: 0.75rem 1.25rem;
}

.dataTables_wrapper > .row > div {
  min-width: 0;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  margin-left: 0.5rem;
}

.page-title {
  color: var(--app-primary);
  font-weight: 700;
  letter-spacing: 0;
}

.chart-card {
  width: min(100%, 28rem);
}

.project-required-msg {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.project-required-msg.fade-in {
  display: block;
  opacity: 1;
}

.project-required-msg.fade-out {
  opacity: 0;
}

@media (max-width: 767.98px) {
  .tableContainer {
    margin-top: calc(var(--app-nav-height) + 20px);
    padding-inline: 0.75rem;
  }

  .floating-button {
    right: 20px;
    bottom: 28px;
  }
}

.go_back_btn {
  background-color: #0ea2bd;
  max-height: 26px;
  padding: 6px 12px;
  color: #fff;
  border-radius: 4px;
  border: none;
  font-size: 10px;
  font-weight: 400;
  font-family: "Source Sans Pro", sans-serif;
  text-decoration: none;
  text-align: center;
}
.go_back_btn:hover {
  background-color: #0189a1;
  color: #fff;
}

.custom-dropdown {
  margin-bottom: 10px;
}

.custom-dropdown-button {
  background-color: #f8f9fa;
  color: #333;
}

.custom_dropdown_menu {
  background-color: #f8f9fa !important;
  border-radius: 10px !important;
  padding: 10px !important;
  min-width: 320px !important;
  max-height: 400px;
  overflow-y: auto;
}
.custom_dropdown_menu .btn-group {
  width: 100%;
}
.custom_dropdown_menu .btn-group .item_numName {
  width: 70%;
}
.custom_dropdown_menu .btn-group .item_deleteBTN {
  width: 30%;
}

#startbutton {
  background-color: #fd7e14;
  border: none;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #fd7e14;
  font-size: 14px;
  font-weight: 500;
  font-family: "Source Sans Pro", sans-serif;
  text-decoration: none;
  margin: 10px;
  padding: 4px 8px;
}

.red-switch {
  border-color: #cf1515 !important;
  float: none !important;
}
.red-switch:checked {
  background-color: #cf1515 !important;
}
.red-switch:checked + .form-check-label::before {
  background-color: #cf1515 !important;
}
.red-switch:focus {
  border-color: #cf1515 !important;
  box-shadow: none !important;
}

.imagePreview {
  width: 100%;
  height: 180px;
  background-position: center center;
  background-color: #fdeded;
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  box-shadow: 0px -3px 6px 2px rgba(0, 0, 0, 0.2);
}

.btn_forUpload {
  display: block;
  border-radius: 0px;
  box-shadow: 0px 4px 6px 2px rgba(0, 0, 0, 0.2);
  margin-top: -5px;
}

.imgUp {
  margin-bottom: 15px;
}

.del {
  position: absolute;
  top: 0px;
  right: 15px;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.imgAdd {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #4bd7ef;
  color: #fff;
  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.2);
  text-align: center;
  line-height: 30px;
  margin-top: 0px;
  cursor: pointer;
  font-size: 15px;
}

.checkBoxTable,
.MsoNormalTable {
  border-collapse: collapse;
  border-radius: 10px;
}
.checkBoxTable tr,
.checkBoxTable th,
.checkBoxTable td,
.MsoNormalTable tr,
.MsoNormalTable th,
.MsoNormalTable td {
  background-color: transparent;
}
.checkBoxTable .img_box,
.MsoNormalTable .img_box {
  width: 100%;
}
.checkBoxTable .noTopBorder,
.MsoNormalTable .noTopBorder {
  border-top: none;
}
.checkBoxTable .MsoNormal,
.MsoNormalTable .MsoNormal {
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
  font-family: "Source Sans Pro", sans-serif;
}
.checkBoxTable .textfieldForTable,
.MsoNormalTable .textfieldForTable {
  width: 100%;
  min-width: 57px;
  border: none;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}
.checkBoxTable .MsoNormal_Title,
.MsoNormalTable .MsoNormal_Title {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  line-height: 36px;
  font-family: "Source Sans Pro", sans-serif;
}
.checkBoxTable .header_Title,
.MsoNormalTable .header_Title {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: normal;
}
.checkBoxTable .header_SubTitle,
.MsoNormalTable .header_SubTitle {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
}
.checkBoxTable .header_Span,
.MsoNormalTable .header_Span {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
}
.checkBoxTable .header_Span_STA,
.MsoNormalTable .header_Span_STA {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  vertical-align: middle;
}
/* .checkBoxTable label,
.MsoNormalTable label {
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
} */
.checkBoxTable input,
.MsoNormalTable input {
  background-color: #fff;
  margin-right: 2px;
  padding: 4px 4px !important;
}
.checkBoxTable textarea,
.MsoNormalTable textarea {
  width: 100%;
  height: 100px;
  box-sizing: border-box;
}
.checkBoxTable .sign_BTN,
.MsoNormalTable .sign_BTN {
  background-color: #fd7e14;
  border: none;
  border-radius: 15px;
  color: #fff;
  font-size: 10px;
  padding: 2px 10px;
  height: 20px;
}
.checkBoxTable .sign_BTN:hover,
.MsoNormalTable .sign_BTN:hover {
  background-color: #df6d0f;
}

.MsoNormalTable {
  width: 100%;
}

.shadow_table {
  box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.marginTop_table {
  margin-top: 20px;
}

.table_margin_bottom {
  margin-bottom: 50px;
}

.left_padding {
  padding-left: 7px;
}

.p8 {
  padding: 8px;
}

.p10 {
  padding: 10px 15px;
}

.p15 {
  padding: 15px;
}

.pt_10 {
  padding-top: 10px;
}

.pt_15 {
  padding-top: 15px;
}

.pt_20 {
  padding-top: 20px;
}

.pt_30 {
  padding-top: 30px;
}

.pt_50 {
  padding-top: 50px;
}

.pb_10 {
  padding-bottom: 15px;
}

.pb_15 {
  padding-bottom: 15px;
}

.pr_10 {
  padding-right: 10px;
}

.pr_15 {
  padding-right: 15px;
}

.pr_30 {
  padding-right: 30px;
}

.pl_10 {
  padding-left: 10px;
}

.pl_15 {
  padding-left: 15px;
}

.pl_20 {
  padding-left: 20px;
}

.pl_30 {
  padding-left: 30px;
}

.padding_table_list {
  padding: 15px 5px;
}

.td_center {
  text-align: center;
}

.td_width {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bottom_margin {
  margin-bottom: 50px;
}

th,
td {
  vertical-align: middle;
}

.img_box {
  width: 100%;
}
.img_box img,
.img_box .image {
  padding: 4px;
}

.dark_input {
  background-color: #e7e6e6 !important;
  color: #fff !important;
  border-radius: 0 !important;
  margin-right: 1px !important;
  box-shadow: none !important;
}

.dark_single_input {
  background-color: #e7e6e6 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-left: 10px !important;
}

.light_input {
  background-color: #fff !important;
  color: #000 !important;
  border: none !important;
  box-shadow: none !important;
}

.empty_input {
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center;
}
.empty_input:focus {
  outline: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

.line_input {
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  border-bottom: 1px solid #c2f3fa !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-left: 10px;
}
.line_input:focus {
  outline: none !important;
  box-shadow: none !important;
  color: #fff !important;
}

.date_input {
  background-color: transparent !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-left: 10px;
}
.date_input:focus {
  outline: none !important;
  box-shadow: none !important;
  color: #fff !important;
}
.date_input .fa,
.date_input .icon {
  color: #fff;
}

.border_primery {
  background-color: #fff;
  color: #000;
}
.border_primery td,
.border_primery th {
  border: solid 1px #dc3545 !important;
}

.borders {
  border: solid 1px #0ea2bd !important;
}

.border_radius {
  border-radius: 10px !important;
}

.bottom_border {
  border: none !important;
  border-bottom: 1px solid #e8e8e8 !important;
  border-radius: 0 !important;
}

.primery_header_withBorder td,
.primery_header_withBorder th {
  border: solid 3px #fff;
}

.bg_primeryColor {
  background-color: #dc3545;
  color: #fff;
}

.card_bg_bottomBorderRadius {
  background-color: #0189a1 !important;
  color: #ffffff !important;
  border-radius: 0 0 10px 10px !important;
}

.card_bg_topBorderRadius {
  background-color: #0189a1 !important;
  color: #ffffff !important;
  border-radius: 10px 10px 0 0 !important;
}

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

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

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

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

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

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

.title_bg {
  background-color: #0189a1 !important;
  color: #ffffff !important;
  border-radius: 10px;
}

.title_only_bg {
  background-color: #0189a1 !important;
  color: #ffffff !important;
}

.subTitle_bg {
  background-color: #0ea2bd !important;
  color: #c2f3fa !important;
}

.subTitle_only_bg {
  background-color: #0ea2bd !important;
}

.secondary_bg {
  background-color: #f7f7f7 !important;
  color: #c2f3fa !important;
}

.orange_bg {
  background-color: #ffa30c !important;
  color: #0f4d56 !important;
}

.forTable {
  padding: 20px 12px !important;
  background-color: #fff;
  box-shadow: -8px 0 8px -8px rgba(0, 0, 0, 0.2), 8px 0 8px -8px rgba(0, 0, 0, 0.2);
}

.cardTable {
  padding: 20px 20px !important;
  box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.inside_container {
  box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: #fff;
}

.text_Primery_color {
  color: #0ea2bd;
}

.link_primery {
  color: #0ea2bd;
  text-decoration: none;
}
.link_primery:hover {
  color: #0189a1;
}

.text_orange_color {
  color: #fd7e14;
}

.text_secondary_color {
  color: #c2f3fa !important;
}

.text_white_color {
  color: #ffffff !important;
}

.main_btn {
  display: inline-block;
  background-color: #0ea2bd;
  padding: 4px 8px;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #0ea2bd;
  font-size: 14px;
  font-weight: 400;
  font-family: "Source Sans Pro", sans-serif;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}
.main_btn:hover {
  background-color: #0189a1;
  color: #fff;
}

.orange_btn {
  display: inline-block;
  background-color: #fd7e14;
  padding: 4px 8px;
  color: #fff;
  border-radius: 4px;
  border: 1px solid #fd7e14;
  font-size: 14px;
  font-weight: 400;
  font-family: "Source Sans Pro", sans-serif;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}
.orange_btn:hover {
  background-color: #c05700;
  color: #fff;
}

.btn_outline_main {
  color: #0ea2bd;
  border-color: #0ea2bd;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #0ea2bd;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Source Sans Pro", sans-serif;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}
.btn_outline_main:hover {
  color: #fff;
  background-color: #0ea2bd;
  border-color: #0ea2bd;
}
.btn_outline_main:focus {
  box-shadow: var(--app-focus-ring);
}
.btn_outline_main:active {
  color: #fff;
  background-color: #0ea2bd;
  border-color: #0ea2bd;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn_outline_orange {
  color: #fd7e14;
  border-color: #fd7e14;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #fd7e14;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Source Sans Pro", sans-serif;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}
.btn_outline_orange:hover {
  color: #fff;
  background-color: #fd7e14;
  border-color: #fd7e14;
}
.btn_outline_orange:focus {
  box-shadow: var(--app-focus-ring);
}
.btn_outline_orange:active {
  color: #fff;
  background-color: #fd7e14;
  border-color: #fd7e14;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn_attachment {
  background-color: #fd7e14;
  padding: 10px 15px;
  color: #c2f3fa;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  font-family: "Source Sans Pro", sans-serif;
  justify-content: space-around;
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  min-width: 180px;
  margin-right: 10px;
}

.btn_cancel {
  background-color: #ee1b30;
  padding: 7px 15px;
  color: #c2f3fa;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Source Sans Pro", sans-serif;
  text-decoration: none;
  text-align: center;
  margin-right: 10px;
}
.btn_cancel:hover {
  background-color: #b10113;
  color: #fff;
}

.btn_save {
  background-color: #018346;
  padding: 7px 15px;
  color: #c2f3fa;
  border-radius: 4px;
  border: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Source Sans Pro", sans-serif;
  text-decoration: none;
  text-align: center;
}
.btn_save:hover {
  background-color: #01512c;
  color: #fff;
}

.modal-header {
  background-color: #0189a1 !important;
  color: #fff !important;
}

.image_title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.delete_icon {
  margin-left: auto;
}

@media print {
  .navbar {
      display: none !important;
  }

  .container-fluid.tableContainer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
}


.card-header {
  background-color: #0189a1 !important;
  color: #fff !important;

}


/* float button */
.floating-button {
  position: fixed;
  bottom: 80px;
  right: 50px;
  z-index: 1000; /* Ensure it's above other elements on the page */
}

.btn-floating {
  border-radius: 50%;
  padding: 18px;
  background-color: #0189a1;
  color: #fff;
  transition: background-color 0.3s ease; /* Add a smooth transition effect */
}

.btn-floating:hover {
  background-color: #fd7e14; /* Change to the desired hover color */
}

/* label {
  padding-bottom: 0px;
  color: #0189a1;
  font-weight: 900;
  font-family: Arial, Helvetica, sans-serif;
} */


label {
  padding-bottom: 0px;
  color: #0189a1;
  font-weight: 600;
  font-family: 'bpg';
  font-size: 14px;
}


.form-check label {
  padding-bottom: 0px;
  color: #fff;
  font-weight: 600;
  font-family: 'bpg';
}

/* h1, h2, h3, h4, h5, h6 {
  color: black;
  font-weight: bolder;

} */

.pl-bg {
  background-color: #0189a1;
}


@font-face {
  font-family: 'bpg';
  src: url("../assets/fonts/bpg_nino_mtavruli_normal.4e8525b024db.ttf") format('truetype');
  font-display: swap;
  /* You can add more font formats here if needed */
}

@font-face {
  font-family: 'dejavu';
  src: url("../assets/fonts/bpg_dejavu_sans.d79bde3c461b.ttf") format('truetype');
  font-display: swap;
  /* You can add more font formats here if needed */
}

@font-face {
  font-family: 'bpg-nav';
  src: url("../assets/fonts/bpg_arial_2009.ad643a540c97.ttf") format('truetype');
  font-display: swap;
  /* You can add more font formats here if needed */
}

@font-face {
  font-family: 'bpg-checksheet';
  src: url("../assets/fonts/arial_geo.0ba3afee4ca7.ttf") format('truetype');
  font-display: swap;
  /* src: url("/static/mini_goc_app/assets/fonts/bpg_glaho_sylfaen.f467dcd29bd7.ttf") format('truetype'); */
  /* You can add more font formats here if needed */
}


.geo-font {
  font-family: "bpg", sans-serif;
}

.geo-nav-font {
  font-family: "bpg-nav", sans-serif;
}

.geo-checksheet-font {
  font-family: "bpg-checksheet", sans-serif;
}

.form-check label {
  color: #fff;
}

/* Shared UI polish overrides */
.text-primary,
.link-primary {
  color: var(--app-primary) !important;
}

.bg-primary,
.table-primary,
.title_bg,
.title_only_bg,
.modal-header,
.card-header,
.pl-bg {
  background-color: var(--app-primary) !important;
  color: #fff !important;
}

.subTitle_bg,
.subTitle_only_bg {
  background-color: #13879a !important;
}

.main_btn,
.go_back_btn {
  background-color: var(--app-primary);
  border-color: var(--app-primary);
  color: #fff;
}

.main_btn:hover,
.go_back_btn:hover {
  background-color: var(--app-primary-dark);
  border-color: var(--app-primary-dark);
  color: #fff;
}

.orange_btn,
#startbutton {
  background-color: var(--app-accent);
  border-color: var(--app-accent);
}

.orange_btn:hover,
#startbutton:hover {
  background-color: var(--app-accent-dark);
  border-color: var(--app-accent-dark);
}

.btn_outline_main:focus,
.btn_outline_orange:focus {
  box-shadow: var(--app-focus-ring);
}

.shadow_table,
.cardTable,
.inside_container {
  box-shadow: var(--app-shadow-md);
}

.forTable {
  box-shadow: var(--app-shadow-sm);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
}

.floating-button {
  right: 32px;
}

.btn-floating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  background-color: var(--app-primary);
  box-shadow: var(--app-shadow-md);
}

.btn-floating:hover,
.btn-floating:focus {
  background-color: var(--app-accent);
  color: #1f2a33;
}

/* Responsive application layer */
.app-shell {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.app-navbar .container {
  max-width: 1720px;
}

.app-lang-nav {
  margin-left: 2rem;
}

.app-navbar .dropdown-menu {
  padding: 0.35rem;
}

.app-navbar .dropdown-item,
.app-navbar .app-lang-link {
  border-radius: var(--app-radius-sm);
}

.app-navbar .dropdown-item:hover,
.app-navbar .dropdown-item:focus,
.app-navbar .app-lang-link:hover,
.app-navbar .app-lang-link:focus {
  background-color: rgba(255, 255, 255, 0.12);
}

.container-fluid.tableContainer {
  max-width: 1720px;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  box-shadow: var(--app-shadow-sm);
}

.table-responsive > .table {
  margin-bottom: 0;
}

.table th,
.table td {
  max-width: 22rem;
}

.table td {
  overflow-wrap: anywhere;
}

.table td:first-child,
.table th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--app-surface);
}

/* Keep sortable headers pinned when DataTables sets position: relative. */
.table thead th:first-child,
table.table.dataTable thead > tr > th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--app-surface) !important;
  color: var(--app-primary) !important;
}

.table td.table-dropdown-open,
.table th.table-dropdown-open {
  z-index: 1020;
}

.table td.table-dropdown-open:not(:first-child),
.table th.table-dropdown-open:not(:first-child) {
  position: relative;
}

.table .dropdown-menu[popover] {
  inset: auto;
  margin: 0;
}

.table .dropdown-menu[data-popper-reference-hidden] {
  visibility: hidden;
  pointer-events: none;
}

.table td .fa-solid,
.table td .fa-regular,
.table td .bi {
  line-height: 1;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding: 0.35rem 0;
}

.dataTables_wrapper .dataTables_paginate .pagination {
  flex-wrap: wrap;
  gap: 0.25rem;
}

.modal-dialog {
  margin-inline: auto;
}

.modal-body {
  max-height: calc(100vh - 180px);
  overflow-y: auto;
}

.modal-footer,
.modal-body .text-end {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.form-check-input,
.btn,
.form-control,
.form-select {
  min-height: 38px;
}

.form-check-input {
  min-width: 1.15em;
  min-height: 1.15em;
}

.chart-card canvas {
  max-width: 100%;
  min-height: 220px;
}

@media (max-width: 1199.98px) {
  .container-fluid.tableContainer {
    max-width: 100%;
  }

  .c-dashboardInfo {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .c-dashboardInfo .wrap {
    min-height: 180px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --app-nav-height: 64px;
  }

  .app-navbar .navbar-brand img {
    max-height: 38px;
  }

  .app-navbar .container {
    position: relative;
  }

  .app-navbar .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.75rem;
    width: min(18rem, calc(100vw - 1.5rem));
    margin-top: 0;
    padding: 0.75rem;
    background-color: var(--app-primary);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-md);
    text-align: right;
  }

  .app-navbar .navbar-nav {
    align-items: flex-end;
    gap: 0.25rem;
  }

  .app-navbar .nav-link,
  .app-navbar .dropdown-item {
    padding: 0.65rem 0.75rem;
    text-align: right;
  }

  .app-lang-nav {
    margin-left: 0;
  }

  .app-navbar .dropdown-menu {
    border: 0;
    box-shadow: none;
    margin-top: 0.25rem;
    width: 100%;
    min-width: 0;
    background-color: rgba(0, 0, 0, 0.08) !important;
  }

  .page-title,
  h5.text-primary {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .modal-dialog,
  .modal-lg,
  .modal-xl {
    max-width: calc(100% - 1.5rem);
  }
}

@media (max-width: 767.98px) {
  :root {
    --app-nav-height: 58px;
  }

  body {
    font-size: 0.925rem;
  }

  .container-fluid.tableContainer {
    margin-top: calc(var(--app-nav-height) + 18px);
    padding-inline: 0.75rem;
  }

  .c-dashboardInfo {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .c-dashboardInfo .wrap {
    min-height: 132px;
    padding: 22px 16px 18px;
  }

  .c-dashboardInfo h1 {
    font-size: 1.55rem;
    margin-bottom: 0.75rem !important;
  }

  .c-dashboardInfo__title,
  .c-dashboardInfo__subInfo {
    font-size: 0.9rem;
  }

  .c-dashboardInfo__count {
    font-size: 2rem;
    line-height: 2.4rem;
  }

  .table-responsive {
    border-radius: var(--app-radius-sm);
    margin-inline: -0.25rem;
  }

  .table {
    min-width: 720px;
  }

  .table th,
  .table td {
    padding: 0.5rem 0.55rem;
    max-width: 16rem;
    font-size: 0.8rem;
  }

  .dataTables_wrapper > .row.app-table-toolbar,
  .dataTables_wrapper > .row.app-table-footer {
    padding: 0.5rem 0.75rem;
  }

  .dataTables_wrapper .row > div {
    width: 100%;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    text-align: left !important;
  }

  .dataTables_wrapper .dataTables_filter label,
  .dataTables_wrapper .dataTables_length label {
    display: grid;
    gap: 0.35rem;
    width: 100%;
  }

  .dataTables_wrapper .dataTables_filter input,
  .dataTables_wrapper .dataTables_length select {
    margin-left: 0;
    width: 100%;
  }

  .modal-dialog,
  .modal-lg,
  .modal-xl {
    max-width: 100%;
    margin: 0.5rem;
  }

  .modal-content {
    max-height: calc(100vh - 1rem);
  }

  .modal-body {
    max-height: calc(100vh - 145px);
    padding: 1rem;
  }

  .modal-header {
    padding: 0.75rem 1rem;
  }

  .modal-title {
    font-size: 1rem !important;
    line-height: 1.35;
  }

  .modal-body .text-end,
  .modal-footer {
    justify-content: stretch;
  }

  .modal-body .text-end .btn,
  .modal-footer .btn {
    flex: 1 1 140px;
  }

  .btn {
    min-height: 42px;
  }

  .floating-button {
    right: 18px;
    bottom: 18px;
  }

  .btn-floating {
    width: 48px;
    height: 48px;
  }

  .chart-card {
    width: 100%;
  }

  .chart-card .card-body {
    padding: 0.75rem;
  }

  .chart-card canvas {
    min-height: 190px;
  }
}

@media (max-width: 575.98px) {
  .app-navbar .container {
    padding-inline: 0.75rem;
  }

  .app-navbar .navbar-brand img {
    max-height: 34px;
  }

  .container-fluid.tableContainer {
    padding-inline: 0.5rem;
  }

  .row {
    --bs-gutter-x: 0.75rem;
  }

  .page-title,
  h5.text-primary {
    font-size: 0.98rem;
  }

  .form-control,
  .form-select {
    font-size: 16px;
  }

  .c-dashboardInfo .wrap {
    min-height: 118px;
  }

  .table {
    min-width: 660px;
  }

  .table th,
  .table td {
    max-width: 13rem;
  }
}
