:root {
  --theme-black: #10041a;
  --theme-red: #661ca6;
  --theme-red-dark: #4b157b;
  --theme-cell: #401268;
  --theme-brown: #190729;
  --theme-gold: #6724c4;
  --theme-gold-light: #b681ff;
  --theme-cream: #cca8ff;
  --theme-muted: #c1a0f2;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }

body {
  font-family: 'Kanit', Tahoma, sans-serif;
  width: 100%;
  min-height: 100vh;
  color: var(--theme-cream);
  background-image: linear-gradient(rgba(16,4,26, .88), rgba(25,7,41, .92)), url('img/bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 0rem !important;
}

.navbhar,
.navbar {
  cursor: pointer !important;
  color: var(--theme-cream);
  background: linear-gradient(180deg, var(--theme-red), var(--theme-red-dark));
  border-bottom: 2px solid var(--theme-gold);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .45);
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  cursor: pointer !important;
  color: var(--theme-gold-light) !important;
}

.dropdown-toggle {
  cursor: pointer !important;
}

.dropdown-item {
  cursor: pointer !important;
  color: var(--theme-cream);
  background: var(--theme-cell);
}

.dropdown-menu {
  padding: .35rem;
  background: var(--theme-red-dark);
  border: 1px solid var(--theme-gold);
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--theme-gold-light);
  background: var(--theme-brown);
}

.card,
.modal-content,
.panel,
.content-box {
  color: var(--theme-cream);
  background: linear-gradient(180deg, var(--theme-red), var(--theme-red-dark));
  border: 2px solid var(--theme-gold);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--theme-gold-light), 0 12px 28px rgba(0, 0, 0, .42);
}

.card-header,
.modal-header,
.panel-heading {
  color: var(--theme-gold-light);
  background: var(--theme-red-dark);
  border-bottom: 1px solid var(--theme-gold);
}

.form-control,
.custom-select {
  color: #16072b;
  background: #fff8e5;
  border: 2px solid var(--theme-gold);
}

.form-control:focus,
.custom-select:focus {
  border-color: var(--theme-gold-light);
  box-shadow: 0 0 0 .2rem rgba(103,36,196, .24);
}

.btn-primary,
.btn-warning {
  color: #1d0830;
  font-weight: 700;
  background: linear-gradient(180deg, #bf92ff, #974dff 52%, #5f1fb9);
  border-color: var(--theme-gold-light);
}

.btn-primary:hover,
.btn-warning:hover {
  color: #130520;
  background: linear-gradient(180deg, #cca8ff, #a463ff 52%, #6724c4);
  border-color: #cca8ff;
}

.offline {
  color: #c584ff;
  font-weight: 700;
}

.online {
  color: #a9ef78;
  font-weight: 700;
}

a { color: var(--theme-gold-light); }
a:hover { color: #cca8ff; }
::selection { color: var(--theme-cream); background: var(--theme-red); }
