@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha2/dist/css/bootstrap.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");

:root {
  --bs-primary: #3057d3;
  --bs-primary-rgb: 48, 87, 211;
  --bs-secondary: #141414;
  --bs-secondary-rgb: 20, 20, 20;
  --bs-light: #fafbfe;
  --bs-blue: #3057d3;
  --bs-blue-rgb: 48, 87, 211;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-secondary);
}

body {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--bs-secondary) !important;
  /* background: var(--bs-light); */
}

.bg-blue {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-blue-rgb), var(--bs-bg-opacity)) !important;
}

.text-blue {
  color:var(--bs-blue);
}

.bg-opacity-10 {
  --bs-bg-opacity: 0.1 !important;
}

.bg-opacity-05 {
  --bs-bg-opacity: 0.05 !important;
}

.h-100vn {
  min-height: calc(100vh - 60px);
}

.dropdown-menu {
  font-size: 12px;
}

.nav-link {
  padding: 3px;
  font-weight: 500;
  padding: 5px 10px !important;
  border-radius: 25px;
  color: var(--bs-secondary);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  background: #ffffff !important;
}

.badge-msg-n {
  position: absolute;
  border-radius: 50%;
  border: 1px solid #ffffff;
  left: 22px;
  top: 0;
  line-height: normal;
  padding: 3px 6px;
  font-size: 0.6rem;
}

.badge-link-active {
  position: absolute;
  border-radius: 50%;
  right: 12px;
  top: 11px;
  line-height: normal;
  padding: 3px 3px;
  font-size: 0.6rem;
  background: #ffb300 !important;
}

.dropdown-menu[data-bs-popper] {
  right: 0 !important;
  left: initial;
}

.navbar-top .sr-icon {
  top: 10px;
  left: 13px;
}

.ps-4-5 {
  padding-left: 35px;
}

.input-search {
  width: 60px !important;
}

@media (min-width: 992px) {
  .input-search {
    width: 100% !important;
  }
}

@media (max-width: 992px) {
  .navbar-collapse {
    position: absolute;
    width: 100%;
    background: rgb(255, 255, 255);
    left: 0px;
    top: 60px;
  }
}

.fs-8 {
  font-size: 0.85rem;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.035) !important;
}

.sidebar {
  width: 50px;
  float: left;
  background: var(--bs-primary);
}

.sidebar .nav-link {
  width: 50px;
  text-align: center;
  color: var(--bs-light);
  border-radius: 0px;
  padding: 10px 0 !important;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active,
.sidebar .nav-link:focus,
.sidebar .nav-link:hover {
  background-color: rgb(var(--bs-white-rgb), 0.2) !important;
}

.sidenav {
  padding: 10px 8px;
}

.sidenav .nav-item {
  width: 100%;
}

.sidenav .nav-link {
  padding: 7px 10px !important;
  margin-bottom: 2px;
  border-radius: 3px;
  font-size: 0.8rem;
}

.sidenav .nav-link.active {
  color: var(--bs-primary);
}

.bg-light {
  --bs-light-rgb: 240, 245, 250;
}

.widget-icon {
  font-size: 16px;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 3px;
  display: inline-block;
}

.fs-7 {
  font-size: 0.95rem !important;
}

.fs-8 {
  font-size: 0.9rem !important;
}

.widget-flat {
  margin-bottom: 0.1rem;
}

.text-muted {
  --bs-text-opacity: 1;
  color: rgb(106 109 112 / 75%) !important;
}

.tbl-head {
  background-color: #eff1f9 !important;
}

.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
}

.search-item .sr-icon {
  top: 6px;
  left: 22px;
}

.form-control {
  box-shadow: 2px 2px #e9e9e952;
  --bs-text-color: var(--bs-primary);
  color: var(--bs-text-color);
}

.form-label {
  font-weight: 500 !important;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 57, 180, 0.15);
}

.btn-lg {
  font-size: 0.9375rem;
  padding: 12px 40px;
}

.fs-xs {
  font-size: 0.75rem !important;
}

.box-shadow-in {
  box-shadow: inset 0 0 20px #eaefff;
}

.box-absolute {
  bottom: 10px;
  position: absolute;
  width: 93%;
}
.table {
  --bs-table-hover-bg: rgba(48, 87, 211, 0.04);
}

tr.table-bg-light {
  background-color: #e4e8f9;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
  --bs-table-accent-bg: rgb(244 246 253 / 34%);
}

.note-editor .note-editing-area {
  background: #fff;
}

tbody, td, tfoot, th, thead, tr {
  color: #4d4d4d !important;
  vertical-align: middle;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}