/* custom.css */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  /* font-size: 0.9rem; */
}

.navbar, .btn {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
}


.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.nav-logo {
  width: 80px;
}

.sidebar .nav-link {
  font-size: .875rem;
  font-weight: 500;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar-heading {
  font-size: .75rem;
}


/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
}

/* custom styles */

.my-text-secondary {
  color: #4f4f4f;
}

.my-text-secondary-darker {
  color: #262626;
}

/* .list-header {
  background-color: rgb(248, 249, 250);
} */

.clean-link {
  text-decoration: none;
}

.hoverable:hover {
  background-color: rgb(237, 255, 233);
  /* border: 1px solid #cacaca !important; */
}

/* .device-stats .stats-card:hover {
  background-color: rgb(246, 250, 255);  
}

.clean-link:hover {
  background-color: rgb(246, 250, 255);
} */

.my-bg-light {
  background-color: rgb(248, 249, 250);
}

.my-bg-light-blue {
  background-color: rgb(246, 250, 255);
}

.list-group a > li {
  background-color: #f0fcf4 !important;
}

.list-group a {
  text-decoration: none;
}

.device-item:hover {
  background-color: #d8f5e1 !important;
}

.stats-card i {
  font-size: 3rem !important;
}

.stats-card .card-title {
  font-size: 3rem;
  color: #9b9b9b;
}

.device-stats > div:nth-child(1n) i {
  color: #ee51f4;
}

.device-stats > div:nth-child(2n) i {
  color: #48dacb;
}

.device-stats > div:nth-child(3n) i {
  color: #33ea7c;
}

.receipt-stats > div:nth-child(1n) i {
  color: #b00328;
}

.receipt-stats > div:nth-child(2n) i {
  color: #0473a7;
}

.receipt-stats > div:nth-child(3n) i {
  color: #b69607;
}

.my-table-wrapper {
  max-height: 300px;
  overflow-y: scroll;
}

.table thead th {
  position: sticky;
  top: 0;
  background-color: #fff; /* Ensure background color matches table background */
  z-index: 1; /* Ensure header stays on top of other content */
}

.simple-feedback-message {
  display: 'block';
  margin: 10px;
  /* width: 100%; */
  /* opacity: 100%; */
}

/*
 * Sidebar
 */

 /* @media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
} */

@media (min-width: 768px) {

  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }

  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }

}

@media (min-width: 769px) {

  .sidebar {
    min-height: calc(100vh - 80px);
  }

}



