:root {
  --bs-primary: #7367f0;
  --bs-primary-rgb: 115, 103, 240;
  --bs-secondary: #a8aaae;
  --bs-secondary-rgb: 168, 170, 174;
  --bs-success: #28c76f;
  --bs-success-rgb: 40, 199, 111;
  --bs-info: #00bad1;
  --bs-info-rgb: 0, 186, 209;
  --bs-warning: #ff9f43;
  --bs-warning-rgb: 255, 159, 67;
  --bs-danger: #ff4c51;
  --bs-danger-rgb: 255, 76, 81;
  --bs-body-bg: #202337;
  --bs-body-color: #d7d5e2;
  --bs-card-bg: #2f3349;
  --bs-paper-bg: #2f3349;
  --bs-secondary-color: #a8a5bb;
  --bs-heading-color: #fff;
  --bs-border-color: rgba(255, 255, 255, 0.08);
  --bs-link-color: #8f86ff;
  --bs-link-hover-color: #b4aefb;
  --bs-font-sans-serif: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  font-family: var(--bs-font-sans-serif);
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--bs-body-color);
  background: var(--bs-body-bg);
  font-family: var(--bs-font-sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--bs-heading-color);
  font-weight: 700;
  line-height: 1.2;
}

p,
ul,
ol,
dl,
table {
  margin-top: 0;
}

a {
  color: var(--bs-link-color);
  text-decoration: none;
}

a:hover {
  color: var(--bs-link-hover-color);
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

button,
input,
textarea,
select {
  margin: 0;
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
  margin-left: calc(-0.5 * var(--bs-gutter-x, 1.5rem));
  margin-top: calc(-1 * var(--bs-gutter-y, 0));
}

.row > * {
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  margin-top: var(--bs-gutter-y, 0);
}

.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

.g-6 {
  --bs-gutter-x: 4rem;
  --bs-gutter-y: 4rem;
}

.col,
.col-xl {
  flex: 1 0 0%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.d-none {
  display: none !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.h-100 {
  height: 100% !important;
}

.p-0 {
  padding: 0 !important;
}

.border-0 {
  border: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-6 {
  margin-bottom: 4rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-6 {
  margin-top: 4rem !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.ms-1 {
  margin-left: 0.25rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.text-center {
  text-align: center !important;
}

.text-heading {
  color: var(--bs-heading-color) !important;
}

.text-white {
  color: #fff !important;
}

.text-body-secondary {
  color: #a8a5bb !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: inherit;
}

.navbar-nav {
  display: flex;
  margin: 0;
  padding-left: 0;
  list-style: none;
  flex-direction: column;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: 0.55rem 0.75rem;
  color: var(--bs-body-color);
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background: transparent;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
}

.nav-item {
  list-style: none;
}

.collapse:not(.show) {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  background: #2f3349;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.25);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  clear: both;
  color: var(--bs-body-color);
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
  color: #fff;
  background: rgba(var(--bs-primary-rgb), 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-lg {
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

.btn-sm {
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 2.625rem;
  height: 2.625rem;
  min-width: 2.625rem;
  padding: 0;
}

.btn-primary {
  color: #fff;
  border-color: var(--bs-primary);
  background: var(--bs-primary);
}

.btn-primary:hover {
  color: #fff;
  border-color: #6258cc;
  background: #6258cc;
}

.btn-label-primary,
.btn-label-secondary,
.btn-text-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.btn-label-primary {
  color: #cbc7ff;
  background: rgba(var(--bs-primary-rgb), 0.14);
}

.btn-label-secondary:hover,
.btn-text-secondary:hover,
.btn-label-primary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.badge {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
}

.bg-label-primary {
  color: #cbc7ff;
  background: rgba(var(--bs-primary-rgb), 0.14);
}

.bg-label-secondary {
  color: #d7d5e2;
  background: rgba(var(--bs-secondary-rgb), 0.14);
}

.bg-label-success {
  color: #78e7aa;
  background: rgba(var(--bs-success-rgb), 0.14);
}

.bg-label-info {
  color: #6eeeff;
  background: rgba(var(--bs-info-rgb), 0.14);
}

.bg-label-warning {
  color: #ffd3a0;
  background: rgba(var(--bs-warning-rgb), 0.16);
}

.bg-label-danger {
  color: #ffb1b4;
  background: rgba(var(--bs-danger-rgb), 0.14);
}

.bg-danger {
  background: var(--bs-danger) !important;
}

.bg-warning {
  background: var(--bs-warning) !important;
}

.bg-success {
  background: var(--bs-success) !important;
}

.avatar {
  position: relative;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-sm {
  width: 2rem;
  height: 2rem;
}

.avatar-lg {
  width: 3.5rem;
  height: 3.5rem;
}

.avatar-initial {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.rounded {
  border-radius: 0.5rem !important;
}

.rounded-pill {
  border-radius: 999px !important;
}

.accordion-item {
  color: var(--bs-body-color);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  border: 0;
  text-align: left;
}

.accordion-body {
  padding: 1rem 0;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  color: var(--bs-body-color);
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.85rem;
  border-top: 1px solid var(--bs-border-color);
  text-align: left;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--bs-body-color);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.form-control:focus {
  outline: 0;
  border-color: rgba(var(--bs-primary-rgb), 0.75);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.14);
}

.align-middle {
  vertical-align: middle !important;
}

.vstack {
  display: flex;
  align-self: stretch;
  flex: 1 1 auto;
  flex-direction: column;
}

.icon-base {
  display: inline-flex;
  width: 1em;
  height: 1em;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: currentColor;
  line-height: 1;
}

.ti::before {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  border: 0.12em solid currentColor;
  border-radius: 0.25em;
  content: "";
}

.icon-lg {
  font-size: 1.5rem;
}

.icon-22px {
  font-size: 1.375rem;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .text-lg-end {
    text-align: right !important;
  }

  .py-lg-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
