html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #181818;
  color: #e0e0e0;
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  background: #23272a;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
}

.main-content {
  flex: 2;
}

.sidebar {
  flex: 1;
  margin-left: 32px;
  background: #202225;
  border-radius: 8px;
  padding: 24px 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.header {
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.desc {
  color: #b9b9b9;
  font-size: 1.1em;
  margin-bottom: 18px;
}

.back-btn,
.link-btn {
  display: block;
  background: linear-gradient(90deg, #7ee7ff 0%, #ffb6e6 100%);
  color: #181818;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 1.1em;
  margin: 18px 0;
  text-decoration: none;
  transition: background 0.2s;
}

.back-btn:hover,
.link-btn:hover {
  background: linear-gradient(90deg, #00bfff 0%, #ff7eb9 100%);
  color: #fff;
}

.header-bar {
  background: #23272a;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 18px 18px;
  margin-bottom: 32px;
}

.header-bar nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

@media (max-width: 600px) {
  .header-bar nav {
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    justify-content: flex-start;
  }
  .header-link {
    font-size: 1em;
    padding: 10px 12px;
    min-width: 90px;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 4px;
    background: #23272a;
    color: #7ee7ff;
    display: inline-block;
  }
  .header-link:hover {
    color: #fff;
    background: #36393f;
  }
}

.header-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #fff;
}

.header-link {
  color: #b9b9b9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.header-link:hover {
  color: #fff;
}

.profile-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-right: 18px;
  border: 2px solid #9147ff;
  background: #fff;
}

img.logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background: #fff;
  margin-right: 18px;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.broadcaster-name {
  font-size: 1.5em;
  color: #fff;
  font-weight: 700;
}

.points-type {
  font-size: 1.2em;
  color: #7ee7ff;
  margin-left: 8px;
  font-weight: 600;
}

.search-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.search-label {
  color: #b9b9b9;
  font-size: 1.1em;
  margin-right: 10px;
  font-weight: 600;
}

.search-input {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #23272a;
  color: #fff;
  font-size: 1.15em;
  width: 240px;
  box-sizing: border-box;
  outline: 2px solid #7ee7ff;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th,
td {
  padding: 12px 8px;
  text-align: left;
}

th {
  background: #2c2f33;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

tr:nth-child(even) {
  background: #202225;
}

tr:hover {
  background: #36393f;
}

.icon {
  font-size: 1.9em;
  width: 28px;
  height: 28px;
  padding: 10px;
  vertical-align: middle;
}

.platform-col {
  min-width: 90px;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  vertical-align: middle;
}

.sidebar-title {
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.sidebar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.sidebar-table th,
.sidebar-table td {
  padding: 8px 6px;
  text-align: left;
}

.sidebar-table th {
  background: #23272a;
  color: #b9b9b9;
  font-weight: 600;
}

.sidebar-table tr:nth-child(even) td {
  background: #202225;
}

.sidebar-table tr:nth-child(odd) td {
  background: #23272a;
}

.sidebar-table tr.header-row th {
  background: #23272a;
  color: #b9b9b9;
  font-weight: 600;
}

.sidebar-icon {
  width: 22px;
  text-align: center;
  margin-right: 8px;
}

.generic-img-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  border-radius: 4px;
  background: #181818;
}

/* Quotes/Commands/Leaderboard shared styles */
.quotes-list {
  text-align: left;
  list-style: none;
  padding-left: 0;
}
.quote-item {
  margin-bottom: 18px;
}
.quote-id {
  color: #7ee7ff;
  font-weight: 600;
}
.quote-text {
  color: #fff;
}
.quote-meta {
  color: #b9b9b9;
  font-size: 0.95em;
}
.command-group-title {
  color: #7ee7ff;
  margin-bottom: 8px;
  margin-top: 24px;
}
.command-list {
  list-style: none;
  padding-left: 0;
}
.command-item {
  margin-bottom: 10px;
}
.command-name {
  font-weight: 600;
  color: #fff;
}
.command-aliases {
  color: #b9b9b9;
}
.command-regex {
  color: #ffb6e6;
}
