.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 2;
}

.page-container {
  padding: 16px 24px;
  height: 100%;
  flex: 1;
}

/* Header */
.header {
  background: #035a83;
  color: #fff;
  width: 100%;
  height: 56px;
  z-index: 999;
}

.header .navbar-brand {
  font-weight: bold;
  color: #fff;
}

.header .navbar-brand:hover {
  color: #fff;
}

.header .navbar-nav .nav-item .nav-link {
  color: #fff;
}

.header .nav-link:hover {
  color: #fe8523;
}

.navbar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.navbar-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

/* form-search */
.form-search {
  z-index: 1;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 16px 24px;
  background: #ffffff;
  flex-wrap: wrap;
}

.form-search .breadcrumb {
  margin-bottom: 0;
  background-color: #fff;
  flex-wrap: nowrap;
}

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

.breadcrumb .breadcrumb-item a {
  color: #c16162;
  text-decoration: none;
}

.form-search .export-print .form-control {
  width: 100px;
}

.form-search input {
  height: 40px;
}

.search-type-select {
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right 0.75rem center/8px 10px no-repeat;
  -webkit-appearance: none;
}

.search-type-select:focus-visible {
    outline-color: #80bdff;
    box-shadow: 0 0 0 0 rgb(0 123 255 / 25%);
}

.form-search .input-group .form-control {
  min-width: 25vw;
}

/* Footer */
.footer {
  max-height: 50px;
  width: 100%;
  background-color: #e4e5e7 !important;
}

/* Table */
.table {
  font-size: 14px;
}

.dataTables_scroll {
  margin-bottom: 8px;
}

.bg-header-table {
  background-color: #7e7d7d;
}

.btn-table-action {
  width: 100px;
}

.dataTable tbody tr {
  cursor: pointer;
}

.dataTable thead tr th,
.dataTable tbody tr td {
  vertical-align: middle;
  text-align: center;
}

.dataTables_paginate .pagination li a {
  color: #495057;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

.dataTables_paginate .page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #888a8b;
  border-color: #888a8b;
}

/* btn */
.btn-primary {
  color: #fff;
  background-color: #3f87a3 !important;
  border-color: #1176a9 !important;
}

.btn-success {
  color: #fff;
  background-color: #658b60 !important;
  border-color: #658b60 !important;
}

.btn-info {
  color: #fff;
  background-color: #3f87a3 !important;
  border-color: #3f87a3 !important;
}

.btn-danger {
  color: #fff;
  background-color: #c16162 !important;
  border-color: #c16162 !important;
}

/* Text */

.text-break {
  word-break: break-word;
  word-wrap: break-word;
}

.text-table-head {
  color: #c16162;
}

.loader {
  display: block;
  width: 25px;
  height: 25px;
  border: 3px solid #FFFFFF;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin .5s linear 0s infinite;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modal-body.modal-fixed-scroll {
  height: 70vh;
  overflow-y: auto;
}

.text-title-modal {
  color: #c16162;
}