header,
html {
  position: relative;
}
header .top,
nav {
  border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.329);
}
*,
.user li:last-child,
p,
ul {
  margin: 0;
}
.form-control,
.user li,
header .login-log {
  text-align: center;
}
*,
p,
ul {
  outline: 0;
  padding: 0;
}
body,
html {
  background: url("../img/main-bg.jpg") 0 0 / cover no-repeat;
  min-height: 100vh;
  font-family: "Exo 2", sans-serif;
  color: var(--bs-light);
}
body.light-theme {
  background: url("../img/main-bg-light.jpg");
  color: var(--bs-dark);
}
a {
  text-decoration: none;
  color: var(--bs-secondary);
}
a:hover {
  color: var(--bs-primary);
}
.light-theme .navbar.bg-dark {
  background-color: var(--bs-light) !important;
  color: var(--bs-dark);
}
header {
  min-height: 220px;
}
header .top {
  background-color: rgba(var(--bs-dark-rgb), 1);
  padding: 7px 10px;
}
.light-theme .icon .iconify,
.light-theme .top {
  color: var(--bs-dark);
}
.light-theme header .top {
  background-color: rgba(var(--bs-light-rgb), 1);
}
header .login-log {
  background-color: rgba(var(--bs-dark-rgb), 0.589);
  position: absolute;
  padding: 3px 8px;
  width: 300px;
  margin: 10px;
  border: 2px solid rgba(var(--bs-secondary-rgb), 0.329);
  border-radius: 6px;
}
.light-theme header .login-log {
  background-color: rgba(var(--bs-light-rgb), 0.589);
  color: var(--bs-dark);
}
header .login-log::before {
  background-color: #c29b4c;
  content: "";
  height: 8px;
  width: 8px;
  bottom: -50%;
  left: 50%;
  display: inline-block;
  position: absolute;
  border-radius: 50%;
}
.card {
  background-color: rgba(var(--bs-dark-rgb), 0.889);
  border-radius: 0;
}
.light-theme .card {
  background-color: rgba(var(--bs-light-rgb), 0.59);
}
.card .card-header {
  background-color: rgba(var(--bs-dark-rgb), 0.959);
  text-align: center;
  border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.354);
  border-radius: 0;
}
.light-theme .card-header {
  background-color: rgba(var(--bs-black-rgb), 0.69);
  color: var(--bs-light);
}
.card .card-body {
  background-color: rgba(var(--bs-dark-rgb), 0.089);
}
.light-theme .card-body {
  background-color: rgba(var(--bs-light-rgb), 0.29);
  color: var(--bs-dark);
}
.card .card-footer {
  background-color: rgba(var(--bs-dark-rgb), 0.459);
}
.light-theme .card-footer {
  background-color: rgba(var(--bs-dark-rgb), 0.29);
  color: var(--bs-light);
  border-radius: 0;
}
.user li {
  margin-bottom: 10px;
}
.icon {
  background-color: rgba(var(--bs-secondary-rgb), 0.589);
  padding: 9px 5px;
  border: 2px solid rgba(var(--bs-dark-rgb), 0.554);
  border-radius: 50%;
}
.icon .iconify {
  width: 30px;
  height: 30px;
  color: var(--bs-light);
}
.user .user-avatar {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin-right: 3px;
  vertical-align: top;
  border: 2px solid rgba(var(--bs-secondary-rgb), 0.554);
  border-radius: 50%;
}
.light-theme .form-control {
  background-color: rgba(var(--bs-light-rgb), 0.7);
  color: var(--bs-dark);
  border-color: rgba(var(--bs-dark-rgb), 0.39);
}
.light-theme .form-control::placeholder {
  color: var(--bs-dark);
}
.light-theme .text-light {
  color: var(--bs-dark) !important;
}
.light-theme .btn.btn-dark {
  background-color: rgba(var(--bs-light-rgb), 0.88);
  color: var(--bs-dark);
  border-color: rgba(var(--bs-secondary-rgb), 0.5);
}
#cookit,
footer {
  border-top: 1px solid rgba(var(--bs-secondary-rgb), 0.329);
}
.light-theme footer {
  color: var(--bs-dark);
}
#cookit {
  position: fixed;
  width: 100%;
  bottom: 0;
  padding: 0.01rem 2rem;
  display: flex;
  z-index: 1000000;
}
#cookit #cookit-container {
  margin: auto;
  width: 1200px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#cookit #cookit-container > * {
  margin: 0.4rem;
}
#cookit #cookit-container #cookit-button {
  padding: 0.5rem 1rem;
  margin-left: auto;
}
@media screen and (max-width: 767px) {
  .page {
    posisiton: relative;
    left: 0;
  }
}

/* Alert styles for login/register pages, light and dark themes */
.alert-danger,
.alert-warning,
.alert-info,
.alert-success {
  font-weight: bold;
  text-align: center;
  padding: 0.75em 1em;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.alert-danger {
  background: #ff4d4d !important;
  color: #fff !important;
  border: 1px solid #d32f2f;
}
.light-theme .alert-danger {
  background: #fff !important;
  color: #d32f2f !important;
  border: 1px solid #d32f2f;
}
.alert-warning {
  background: #fff3cd !important;
  color: #856404 !important;
  border: 1px solid #ffeeba;
}
.light-theme .alert-warning {
  background: #fff !important;
  color: #856404 !important;
  border: 1px solid #ffeeba;
}
.alert-info {
  background: #d1ecf1 !important;
  color: #0c5460 !important;
  border: 1px solid #bee5eb;
}
.light-theme .alert-info {
  background: #fff !important;
  color: #0c5460 !important;
  border: 1px solid #bee5eb;
}
.alert-success {
  background: #28a745 !important;
  color: #fff !important;
  border: 1px solid #218838;
}
.light-theme .alert-success {
  background: #fff !important;
  color: #28a745 !important;
  border: 1px solid #218838;
}

.auth-landing-shell {
  display: grid;
  gap: 1rem;
  padding-bottom: 1rem;
}
.auth-landing-card {
  overflow: hidden;
}
.auth-landing-card > .card-body {
  background: rgba(var(--bs-dark-rgb), 0.269);
}
.auth-hero-copy {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.auth-hero-eyebrow,
.auth-lb-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 224, 177, 0.72);
}
.auth-hero-title {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.15;
  color: rgba(var(--bs-light-rgb), 0.96);
}
.auth-hero-subtitle,
.auth-lb-subtitle,
.auth-mini-stat-note {
  color: rgba(var(--bs-light-rgb), 0.68);
}
.auth-login-surface {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 0.85fr);
  gap: 1rem;
  align-items: start;
}
.auth-login-form-wrap {
  max-width: 100%;
}
.auth-login-form-wrap form,
.auth-login-form-wrap .form {
  max-width: 420px;
  margin: 0 auto;
}
.auth-login-form-wrap .form-control {
  min-height: 42px;
  border-color: rgba(var(--bs-secondary-rgb), 0.22);
  background: rgba(var(--bs-black-rgb), 0.22);
  color: rgba(var(--bs-light-rgb), 0.96);
}
.auth-login-form-wrap .form-control::placeholder {
  color: rgba(var(--bs-light-rgb), 0.46);
}
.auth-login-form-wrap .btn {
  min-height: 40px;
}
.auth-login-side-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.auth-mini-stat-card,
.auth-about-copy-card {
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.15);
  background:
    linear-gradient(
      180deg,
      rgba(var(--bs-secondary-rgb), 0.04),
      rgba(var(--bs-black-rgb), 0.08)
    ),
    rgba(var(--bs-dark-rgb), 0.22);
}
.auth-mini-stat-card {
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.auth-mini-stat-icon {
  font-size: 1.15rem;
}
.auth-mini-stat-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(var(--bs-light-rgb), 0.96);
}
.auth-mini-stat-value-success {
  color: #1f9d45 !important;
}
.auth-lb-board {
  display: grid;
  gap: 0;
}
.auth-lb-copy {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.18);
  background:
    radial-gradient(
      circle at top right,
      rgba(var(--bs-warning-rgb), 0.08),
      transparent 28%
    ),
    rgba(var(--bs-black-rgb), 0.14);
}
.auth-lb-list .list-group-item {
  border-left: 0;
  border-right: 0;
  border-color: rgba(var(--bs-secondary-rgb), 0.18);
  background: transparent;
}
.auth-lb-entry {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}
.auth-lb-entry:nth-child(1) {
  background: linear-gradient(
    90deg,
    rgba(var(--bs-warning-rgb), 0.15),
    rgba(var(--bs-dark-rgb), 0.08)
  );
}
.auth-lb-entry:nth-child(2) {
  background: linear-gradient(
    90deg,
    rgba(var(--bs-secondary-rgb), 0.16),
    rgba(var(--bs-dark-rgb), 0.08)
  );
}
.auth-lb-entry:nth-child(3) {
  background: linear-gradient(
    90deg,
    rgba(205, 127, 50, 0.16),
    rgba(var(--bs-dark-rgb), 0.08)
  );
}
.auth-lb-rank {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--bs-black-rgb), 0.25);
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.16);
  font-size: 1.1rem;
}
.auth-lb-entry:nth-child(1) .auth-lb-rank .lb-rank-icon {
  color: var(--bs-warning);
}
.auth-lb-entry:nth-child(2) .auth-lb-rank .lb-rank-icon {
  color: var(--bs-secondary);
}
.auth-lb-entry:nth-child(3) .auth-lb-rank .lb-rank-icon {
  color: var(--bs-orange);
}
.auth-lb-avatar {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.22);
  border-radius: 0;
}
.auth-lb-copy-wrap {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}
.auth-lb-name,
.auth-lb-name a {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(var(--bs-light-rgb), 0.96);
  font-weight: 700;
  text-decoration: none;
}
.auth-lb-meta {
  font-size: 0.76rem;
  color: rgba(var(--bs-light-rgb), 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-lb-tag {
  color: #d6a21b;
}
.auth-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.auth-about-copy-card {
  padding: 1rem 1.05rem;
  color: rgba(var(--bs-light-rgb), 0.8);
}
.auth-about-copy-card h4,
.auth-about-copy-card h5 {
  margin: 0 0 0.65rem;
  color: rgba(var(--bs-light-rgb), 0.96);
}
.auth-about-copy-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
}
.auth-about-copy-card h5 {
  margin-top: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-about-copy-card p {
  margin-bottom: 0.9rem;
  line-height: 1.65;
}
.auth-about-copy-card ul {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.auth-about-copy-card li {
  color: rgba(var(--bs-light-rgb), 0.78);
  line-height: 1.55;
}
.auth-about-card .badge,
.auth-login-card .badge {
  color: rgba(var(--bs-light-rgb), 0.9) !important;
}
.auth-login-card .alert {
  margin-bottom: 1rem;
}
.auth-login-card .btn.btn-dark {
  background-color: rgba(var(--bs-black-rgb), 0.42);
  border-color: rgba(var(--bs-secondary-rgb), 0.24);
}
.auth-login-card .btn.btn-dark:hover,
.auth-login-card .btn.btn-dark:focus,
.auth-lb-card .loggedin-header-link:hover,
.auth-lb-card .loggedin-header-link:focus {
  background: rgba(var(--bs-secondary-rgb), 0.18);
}
@media screen and (max-width: 991px) {
  .auth-login-surface,
  .auth-about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-login-form-wrap form,
  .auth-login-form-wrap .form {
    max-width: none;
  }
  .auth-login-side-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 767px) {
  .auth-hero-title {
    font-size: 1.28rem;
  }
  .auth-login-side-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-lb-entry {
    padding: 0.82rem 0.9rem;
  }
}

body .auth-landing-card {
  background-color: rgba(var(--bs-dark-rgb), 0.82) !important;
}

body .auth-landing-card > .card-header {
  background: rgba(var(--bs-dark-rgb), 0.94) !important;
}

body .auth-landing-card > .card-body,
body .auth-lb-list .list-group-item,
body .auth-mini-stat-card,
body .auth-about-copy-card,
body .auth-lb-copy {
  background: rgba(var(--bs-dark-rgb), 0.2) !important;
}

body .auth-mini-stat-card,
body .auth-about-copy-card,
body .auth-lb-entry,
body .auth-lb-copy {
  border-color: rgba(var(--bs-secondary-rgb), 0.2);
}

body .auth-lb-entry:nth-child(1) {
  background: linear-gradient(
    90deg,
    rgba(var(--bs-warning-rgb), 0.12),
    rgba(var(--bs-dark-rgb), 0.86)
  ) !important;
}

body .auth-lb-entry:nth-child(2) {
  background: linear-gradient(
    90deg,
    rgba(var(--bs-secondary-rgb), 0.12),
    rgba(var(--bs-dark-rgb), 0.86)
  ) !important;
}

body .auth-lb-entry:nth-child(3) {
  background: linear-gradient(
    90deg,
    rgba(205, 127, 50, 0.12),
    rgba(var(--bs-dark-rgb), 0.86)
  ) !important;
}

body .auth-login-form-wrap .form-control {
  background: rgba(var(--bs-black-rgb), 0.42);
}
