* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0d16;
  --bg-elevated: #131625;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-hover: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #e9eaf2;
  --text-secondary: #9aa0b5;
  --text-muted: #5f6478;
  --blurple: #5865f2;
  --blurple-light: #8fa0ff;
  --purple: #a55eea;
  --cyan: #00d4ff;
  --success: #57f287;
  --warning: #fee75c;
  --error: #ed4245;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.45);
  --transition: all 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .stat-value, .hs-value {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

::selection {
  background: rgba(88, 101, 242, 0.45);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #262b42;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #343a5c;
}

/* ---------- Decorative background ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(1100px 600px at 75% -10%, #1b2038 0%, transparent 60%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, var(--blurple), transparent 70%);
  opacity: 0.32;
}

.orb-2 {
  width: 440px;
  height: 440px;
  top: 18%;
  right: -160px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: 0.18;
}

.orb-3 {
  width: 480px;
  height: 480px;
  bottom: -180px;
  left: 28%;
  background: radial-gradient(circle, var(--purple), transparent 70%);
  opacity: 0.22;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 22, 0.62);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blurple), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.5);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-links a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.navbar-links a:not(.btn):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.navbar-links a.active {
  color: #fff;
  background: rgba(88, 101, 242, 0.18);
  box-shadow: inset 0 0 0 1px rgba(88, 101, 242, 0.4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blurple), #7b5ef7);
  color: #fff;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.5);
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-danger {
  background: linear-gradient(135deg, var(--error), #e0455e);
  color: #fff;
  box-shadow: 0 6px 20px rgba(237, 66, 69, 0.3);
}

.btn-icon {
  padding: 9px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--glass-strong);
  color: #fff;
}

/* ---------- Container / layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px 24px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 26px;
  color: #fff;
}

.section-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 110px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #aab4ff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 15%, var(--blurple-light) 50%, #c9a4ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 38px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 56px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .hs-value {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #fff, var(--blurple-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat .hs-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Feature grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  padding: 44px 0 28px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: var(--transition);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(88, 101, 242, 0.45);
  background: var(--glass-hover);
  box-shadow: var(--shadow-lg), 0 0 34px rgba(88, 101, 242, 0.12);
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.95), rgba(165, 94, 234, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Stat cards ---------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.stat-card .stat-value {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--blurple-light), #c0a4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card .stat-label {
  color: var(--text-secondary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 600;
}

/* ---------- Cards ---------- */
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 22px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: #fff;
}

/* ---------- Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 14px 16px;
  text-align: left;
}

th {
  color: var(--text-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

td {
  color: var(--text-primary);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tbody tr {
  transition: background 0.15s ease;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.045);
}

tbody tr:last-child td {
  border-bottom: none;
}

.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(88, 101, 242, 0.45);
  object-fit: cover;
  flex-shrink: 0;
}

.rank-badge {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.rank-1 {
  background: linear-gradient(135deg, #ffd76a, #f5a623);
  color: #1a1206;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
}

.rank-2 {
  background: linear-gradient(135deg, #e8eaf0, #9aa0b5);
  color: #14141c;
  box-shadow: 0 4px 14px rgba(200, 205, 220, 0.25);
}

.rank-3 {
  background: linear-gradient(135deg, #e0a06a, #c06f3a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(205, 127, 50, 0.3);
}

.rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 10, 16, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blurple);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Profile ---------- */
.profile-header {
  text-align: center;
  padding: 30px 0 10px;
}

.profile-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--blurple);
  box-shadow: 0 0 0 6px rgba(88, 101, 242, 0.15), 0 12px 34px rgba(88, 101, 242, 0.4);
  object-fit: cover;
  margin-bottom: 20px;
}

.profile-name {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 4px;
}

.profile-tag {
  color: var(--text-secondary);
  font-size: 15px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blurple), var(--cyan), var(--purple));
  border-radius: 999px;
  transition: width 1s ease;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.6);
}

/* ---------- Achievements ---------- */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.achievement-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  transition: var(--transition);
}

.achievement-item.unlocked {
  border-color: rgba(88, 101, 242, 0.55);
  background: rgba(88, 101, 242, 0.09);
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.12);
}

.achievement-item.locked {
  opacity: 0.38;
  filter: grayscale(1);
}

.achievement-item .icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.achievement-item .name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.achievement-item .desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ---------- Status ---------- */
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}

.status-online {
  background: var(--success);
  box-shadow: 0 0 10px rgba(87, 242, 135, 0.8);
}

.status-offline {
  background: var(--error);
  box-shadow: 0 0 10px rgba(237, 66, 69, 0.8);
}

/* ---------- Alerts ---------- */
.alert {
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  backdrop-filter: blur(10px);
}

.alert-info {
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #aab4ff;
}

.alert-warning {
  background: rgba(254, 231, 92, 0.08);
  border: 1px solid rgba(254, 231, 92, 0.3);
  color: #f9e25a;
}

/* ---------- Toasts ---------- */
.toast {
  position: fixed;
  top: 84px;
  right: 24px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.3s ease;
}

.toast-success {
  background: rgba(87, 242, 135, 0.18);
  border-color: rgba(87, 242, 135, 0.4);
  color: #7ff5a8;
}

.toast-error {
  background: rgba(237, 66, 69, 0.2);
  border-color: rgba(237, 66, 69, 0.45);
  color: #ff8a8d;
}

.toast-info {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.45);
  color: #aab4ff;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ---------- Spinner ---------- */
.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--blurple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Toggle ---------- */
.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: var(--transition);
}

.toggle-slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #b6bccf;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, var(--blurple), #7b5ef7);
  border-color: transparent;
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 34px 24px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 48px;
}

/* ---------- Management panel ---------- */
.bot-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.bot-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.bot-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(88, 101, 242, 0.5);
  box-shadow: 0 0 0 4px rgba(88, 101, 242, 0.12);
}

.bot-avatar span {
  display: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blurple), var(--blurple-dark));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(88, 101, 242, 0.5);
}

.bot-avatar span.show {
  display: flex;
}

.bot-info {
  flex: 1;
  min-width: 0;
}

.bot-name {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bot-name h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.bot-tag {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 2px 0 0;
}

.bot-guilds {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 2px 0 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.status-badge.online {
  color: #3ddc84;
  background: rgba(61, 220, 132, 0.12);
  border-color: rgba(61, 220, 132, 0.3);
}

.status-badge.offline {
  color: #f0483e;
  background: rgba(240, 72, 62, 0.12);
  border-color: rgba(240, 72, 62, 0.3);
}

.guild-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
}

.guild-pick {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guild-pick label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.guild-pick select {
  min-width: 240px;
  padding: 10px 14px;
  background: rgba(10, 10, 16, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
}

.guild-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

.guild-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(88, 101, 242, 0.45);
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.button-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.button-row .btn-label {
  flex: 1;
}

.button-row .btn-style {
  width: 160px;
  flex-shrink: 0;
}

.button-row .btn-emoji {
  width: 64px;
  flex-shrink: 0;
  text-align: center;
}

.button-row input,
.button-row select {
  padding: 10px 12px;
  background: rgba(10, 10, 16, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.button-row input:focus,
.button-row select:focus {
  outline: none;
  border-color: var(--blurple);
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}

.empty-hint {
  padding: 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 24px;
}

.actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .button-row {
    flex-wrap: wrap;
  }
  .button-row .btn-style {
    width: auto;
    flex: 1;
  }
  .hero {
    padding: 72px 20px 56px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-stats {
    gap: 28px;
    margin-top: 40px;
  }
  .navbar-inner {
    padding: 0 16px;
  }
  .navbar-links {
    gap: 2px;
  }
  .navbar-links a:not(.btn) {
    padding: 8px 10px;
    font-size: 13px;
  }
  .navbar-links .btn {
    padding: 9px 14px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-title {
    font-size: 24px;
  }
  .container {
    padding: 28px 16px 20px;
  }
}

@media (max-width: 520px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .navbar-brand {
    font-size: 18px;
  }
}
