@import url(https://fonts.googleapis.com/css?family=Nunito);
.bg-blue {
  background-color: #21418e !important;
}

.navbar-toggler {
  font-size: 1.25rem;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0.25rem;
}

#notification-list {
  position: relative;
  width: 400px;
  max-height: 400px;
  overflow-y: scroll;
}

.panel-heading {
  background-color: #ffffff;
  border-bottom: 1px solid #dedede;
}

.panel-footer {
  position: -webkit-sticky;
  position: sticky;
}

.activity-item i {
  float: left;
  margin-top: 3px;
  font-size: 16px;
}

div.activity {
  margin-left: 28px;
}

div.activity-item {
  padding: 7px 12px;
}

#notification-list div.activity-item {
  border-top: 1px solid #dedede;
}

#notification-list div.activity-item a {
  font-weight: 600;
}

div.activity span {
  display: block;
  color: #999;
  font-size: 11px;
  line-height: 16px;
}

#notifications i.fa {
  font-size: 17px;
}

.noty_type_error * {
  font-weight: normal !important;
}

.noty_type_error a {
  font-weight: bold !important;
}

.noty_bar.noty_type_error a,
.noty_bar.noty_type_error i {
  color: #ffffff;
}

.noty_bar.noty_type_information a {
  color: #ffffff;
  font-weight: bold;
}

.noty_type_error div.activity span {
  color: #ffffff;
}

.noty_type_information div.activity span {
  color: #ffffff;
}

.no-notification {
  padding: 10px 5px;
  text-align: center;
}

.noty-manager-wrapper {
  position: relative;
  display: inline-block !important;
}

.noty-manager-bubble {
  position: absolute;
  top: -8px;
  background-color: #f66d9b;
  color: #ffffff;
  padding: 2px 5px !important;
  font-size: 9px;
  line-height: 12px;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  cursor: pointer;
  height: 15px;
  font-weight: bold;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  opacity: 0;
}

.notification-bell {
  font-size: 25px !important;
  color: #ffffff;
  transition-duration: 1s;
  border-radius: 25%;
  padding: 5px;
}

.notification-bell:hover {
  color: #ffed4a;
  font-size: 25px !important;
  background: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  font-size: 27px !important;
  border-radius: 25%;
}

.notification-count {
  margin-left: -18px;
  border-radius: 25%;
  font-size: 10px;
}

.dropdown-menu {
  position: absolute;
}

.dropdown-menu.show {
  margin-top: -25px;
  margin-left: -275px;
}

@font-face {
  font-family: "Kalimati";
  src: url("/fonts/Kalimati.ttf") format("truetype");
}
.date-time {
  color: #999;
  font: small-caps bold 14px kalimati, serif;
  /* width: 250px; */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  /* left: 82%; */
}

/* Backpack list-page filter buttons get the "active" class while their filter is applied. */
.btn.active {
  background-color: #21418e !important;
  border-bottom: 3px solid #ffffff;
  color: #ffffff !important;
}

button > .fa {
  font-weight: bold;
}

.bg-dark {
  background-color: #21418e !important;
}

html:not([dir=rtl]) .sidebar {
  margin-left: -230px;
}

.btn-primary,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  color: #ffffff;
  background-color: #21418e;
  border-color: #21418e;
}

.btn-group-sm > .btn,
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.2;
  border-radius: 0.2rem;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:focus {
  border-color: #999;
  border-bottom: 2px solid #21418e;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #21418e;
  background-color: #ffffff;
  border: 1px solid;
}

.nav-pills .nav-link {
  border-radius: 0.25rem;
  background-color: #ffffff;
  margin-right: 3px;
}

.btn-success {
  background-color: #067a52;
}

.edit-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 3px;
  border-radius: 4px;
  font-size: 16px;
}

.show-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 3px;
  border-radius: 4px;
  font-size: 16px;
  border: 1px solid #05205e;
  background-color: #21418e;
}

.back-btn {
  background-color: #999;
  color: #ffffff;
  border-radius: 4px;
  padding: 1px 7px 1px 2px;
  font-size: 14px;
  transition: transform 0.2s;
}

.back-btn:hover {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
}

.delete-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 2px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

.nav-tabs {
  border-bottom: 2px solid #21418e;
}

.dataTables_scrollBody {
  overflow-y: scroll !important;
  overflow-x: scroll !important;
}

/* Hide Scroll bar in action column*/
.DTFC_RightBodyLiner {
  overflow-y: hidden !important;
  overflow-x: hidden !important;
}

/* Adjusting Position of action column */
.DTFC_RightFootWrapper {
  margin-top: -7px !important;
}

div.DTFC_RightBodyWrapper {
  top: -7px !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select,
.form-control {
  display: block;
  width: 100%;
  /* height: 2.15rem;
  padding: .075rem .75rem; */
  height: 1.85rem;
  padding: 0.1rem 0.75rem;
  font-size: 0.99rem;
  font-weight: 400;
  line-height: 2;
  color: #999;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #21418e;
  border-radius: 3px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-warning {
  color: #212529;
  background-color: #ffc107;
  border-color: #ffc107;
}

.form-center {
  display: flex;
  flex-flow: column;
  /* flex-direction: column; */
  align-items: center;
}

/* css for sidebar*/
.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  padding-top: 6px;
  padding-bottom: 6px;
  padding-right: 2px;
}

.sidebar .nav-link.active {
  color: #ffffff;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.12);
}

.sidebar .nav-dropdown.open .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.sidebar .nav-dropdown.open .nav-link.active {
  color: #ffffff;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.12);
}

.sidebar .nav-dropdown-items .nav-item {
  color: #ffffff;
  margin-left: 15px;
  font-size: 14px;
}

.sidebar .nav-dropdown-toggle {
  font-weight: bold;
}

.sidebar .sidebar-nav,
.sidebar .sidebar-scroll,
.sidebar .nav {
  width: 230px;
}

/* css for current focus element */
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus,
.form-control:focus,
.select2-container.select2-container--bootstrap:focus,
.select2-container--bootstrap .select2-search--dropdown .select2-search__field:focus {
  background-color: #ffffff;
  box-shadow: 0 0 0 3px #21418e39;
}

.radio-inline input[type=radio]:focus,
.checkbox input:focus,
.form-check input:focus {
  box-shadow: 0 0 0 6px #21418e39;
}

.select2-search__field:focus,
.select2-selection.select2-selection--multiple:focus,
.select2-selection.select2-selection--single:focus {
  background-color: #ffffff;
  box-shadow: 0 0 0 3px #21418e39 !important;
}

/* DataTable related customization */
.dataTables_scrollFoot,
.DTFC_RightFootWrapper {
  display: none;
}

.DTFC_RightBodyLiner td {
  vertical-align: middle;
}

.DTFC_RightBodyLiner {
  overflow-y: hidden !important;
  overflow-x: hidden !important;
}

.DTFC_RightBodyLiner {
  left: -12px;
}

td p {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.table th {
  /* padding: 0.4rem !important; */
  border-top: none;
  background-color: #dedede;
}

.table td {
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
  border-top: none;
}

/* form controls */
.form-control.amount-field {
  max-width: 150px;
}

textarea[readonly] {
  background-color: #999 !important;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 2px;
  margin-bottom: 5px;
  margin-top: 15px;
  font-size: 1.3rem;
  line-height: inherit;
  color: #21418e;
  text-decoration: underline;
  font-weight: bold;
}

.empty-group {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 0.45rem;
}

.nav-tabs .nav-link {
  color: #21418e;
}

.nav-tabs .nav-link.active {
  color: #21418e;
  font-weight: 550;
}

.nav-tabs .nav-link {
  border: 1px solid #999;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

table {
  width: 100%;
  font-size: 15px;
  font-weight: 600;
}

table tr td {
  padding: 7px;
}

#appointment {
  margin-top: 10px;
}

.data {
  padding: 20px;
}

hr.hr-line {
  border: 2px solid #dedede;
}

.nav-pills a.nav-link {
  color: #000000;
  background-color: #dedede;
  margin: 1px;
}

.nav-pills a.nav-link.active {
  font-weight: bold;
  border: 1px solid #21418e;
}

.nav-pills a.nav-link:hover {
  font-weight: bold;
  color: #21418e;
  background-color: #ffffff;
}

.tab-content {
  min-height: 400px;
}

.form-row .form-group {
  margin-right: 10px;
  padding-top: 5px;
}

.form-group > label {
  font-weight: bold;
}

textarea.form-control {
  min-height: 200px;
}

.input-group-prepend > .input-group-text {
  padding: 0px 5px !important;
}

.app-header {
  height: 54px !important;
}

/* Header Top Tabs Styling */
.header-tab-btn {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 20px !important;
  padding: 5px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-right: 10px !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: none !important;
}

.header-tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.header-tab-btn.active {
  background-color: #ffffff !important;
  color: #21418e !important;
  border-color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.sidebar.sidebar-pills {
  width: 230px;
  padding: 0px;
}

.sidebar.sidebar-pills .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.sidebar.sidebar-pills .nav-link:hover,
.nav-dropdown-toggle:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.sidebar.sidebar-pills .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  border-left: 4px solid #38c172 !important;
  font-weight: 700;
}

.sidebar.sidebar-pills .nav-link.active .nav-icon,
.sidebar.sidebar-pills .nav-link:hover .nav-icon {
  color: #ffffff !important;
}

.sidebar.sidebar-pills .nav-link .nav-icon {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 15px !important;
}

.swal-title {
  font-weight: bold;
}

.swal-text {
  color: #000000;
  font-size: 20px;
}

/* ==========================================================================
   Modernized list page styling - list.blade.php is shared by every Backpack
   CRUD list page, so this applies everywhere at once (Employees, Branches,
   Payroll, Leave Requests, etc.) rather than needing per-page changes.
   ========================================================================== */

/* Filter bar: a distinct card-like panel instead of bare inline dropdowns */
.navbar-filters {
  background-color: #f8f9fc;
  border: 1px solid #e3e6f0;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem 0.35rem;
  margin-bottom: 1rem;
}

.navbar-filters .nav-item {
  margin-right: 14px;
  margin-bottom: 0.5rem;
}

.navbar-filters label {
  font-weight: 700;
  font-size: 0.78rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  display: block;
}

.navbar-filters .nav-link {
  color: #495057;
  font-weight: 600;
  font-size: 0.85rem;
}

.navbar-filters .select2-container--bootstrap .select2-selection {
  border: 1px solid #d5dae6;
  border-radius: 0.35rem;
  background-color: #ffffff;
  min-height: 2.1rem;
}

.navbar-filters .select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
  line-height: 2.1rem;
  color: #3b4256;
}

.navbar-filters .select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
  height: 2.1rem;
}

.navbar-filters li.active .select2-container--bootstrap .select2-selection {
  border-color: #21418e;
}

/* Table wrapper reads as one cohesive card */
div.dataTables_wrapper {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(33, 65, 142, 0.07);
  padding: 1.1rem;
}

#crudTable {
  border-collapse: separate;
  border-spacing: 0;
}

#crudTable thead th {
  background-color: #f4f6fb;
  color: #3b4256;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid #e3e6f0 !important;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

#crudTable tbody td {
  vertical-align: middle;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-color: #eef0f5;
  font-size: 0.9rem;
  color: #3b4256;
}

#crudTable tbody td:first-child,
#crudTable tbody td strong {
  font-weight: 600;
}

#crudTable.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fafbfd;
}

#crudTable tbody tr:hover {
  background-color: #f2f5ff;
}

#crudTable .btn-link.btn-sm {
  padding: 0.2rem 0.45rem;
  margin: 0 1px;
  border-radius: 0.3rem;
}

/* Pagination: rounder, better spaced, brand-blue current page */
.dataTables_wrapper .dataTables_paginate {
  margin-top: 0.75rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.35rem !important;
  margin: 0 2px !important;
  padding: 0.35rem 0.7rem !important;
  border: 1px solid #e3e6f0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #eef1fb !important;
  color: #21418e !important;
  border-color: #21418e !important;
}

.dataTables_wrapper .dataTables_info {
  font-size: 0.85rem;
  color: #6c757d;
}
