*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  font-size: 0.875rem;
  background: #f8fafc;
  color: #111827;
  font-family:
    "Inter var",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "system-ui",
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
   * Sidebar
   */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
}

/*
   * Content
   */

[role="main"] {
  padding-top: 133px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
  [role="main"] {
    padding-top: 100px; /* Space for fixed navbar */
  }
}

/*
   * Navbar
   */

.navbar-brand {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, 0.25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.25);
}
.logo svg g {
  transition: all 0.75s cubic-bezier(0.19, 1, 0.22, 1);
}

.logo {
  color: #2fbeff;
  font-weight: 500;
  margin-right: 20px;
  font-size: 18px;
}
.logo:hover svg g {
  fill: #2fbeff;
}
.navbar {
  background: linear-gradient(
    to top,
    rgba(248, 250, 252, 0) 0%,
    rgba(248, 250, 252, 50) 35%,
    rgba(248, 250, 252, 100) 100%
  );
  height: 100px;
  padding-bottom: 20px !important;
  pointer-events: none;
}
.navbar .form-control {
  padding: 0.75rem 1rem;
  border: 1px solid rgb(229, 231, 235);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  border-radius: 6px;
  pointer-events: all;
}

.navbar a {
  pointer-events: all;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.table-striped tbody tr:nth-of-type(odd) {
  background: #fff;
}
.table-striped tbody tr:nth-of-type(even) {
  background-color: #f9fafb;
}

.table thead th {
  color: rgb(148, 163, 184);
  font-weight: 500;
  border-top: none;
  border-bottom: none;
  background: none;
}
.table td {
  color: #4a525e;
}
.table td,
.table th {
  border: none;
}
.table tbody {
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
table.table-overlay::after {
  background-color: rgb(248 250 252 / 70%) !important;
}
.table tbody tr:first-child {
  border-radius: 6px 6px 0 0;
}
.table tbody tr:last-child {
  border-radius: 0 0 6px 6px;
}
.table tbody tr:first-child td:first-child {
  border-top-left-radius: 6px;
}
.table tbody tr:first-child td:last-child {
  border-top-right-radius: 6px;
}
.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}

.form-control {
  font-size: 14px;
  height: calc(1.5em + 0.75rem + 7px);
}
.nav-tabs .nav-link {
  color: rgb(148, 163, 184);
  font-weight: 500;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link {
  border: none;
}
.nav-tabs .nav-link.active {
  background: none;
  border: none;
  color: #007bff;
  border-bottom: 2px solid;
}
.pill {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  background: #10b981;
}
.pill-success {
  background: #10b981;
}
.pill-danger {
  background: #ec5454;
}
