:root {
  --bg-dark: #0a0c10;
  --bg-card: rgba(18, 22, 31, 0.75);
  --bg-card-hover: rgba(26, 32, 44, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(88, 101, 242, 0.4);

  --blurple: #5865f2;
  --blurple-hover: #4752c4;
  --blurple-glow: rgba(88, 101, 242, 0.35);

  --green: #57f287;
  --green-glow: rgba(87, 242, 135, 0.3);
  --yellow: #fee75c;
  --red: #ed4245;
  --red-glow: rgba(237, 66, 69, 0.3);

  --text-main: #f2f3f5;
  --text-muted: #949ba4;
  --text-dim: #6d737e;

  --sidebar-width: 260px;
  --header-height: 70px;
  --transition-speed: 0.22s;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) rgba(0, 0, 0, 0.25);
}

/* Universal Dark Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(88, 101, 242, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(87, 242, 135, 0.05) 0%, transparent 40%);
}

h1, h2, h3, h4, .brand-info h3, .stat-number {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity var(--transition-speed);
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px;
  text-align: center;
  animation: slideUp 0.35s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-header .bot-badge-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.login-header h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

/* Layout */
.app-layout {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border-left: none;
  border-top: none;
  border-bottom: none;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-color);
}

.brand-avatar {
  font-size: 28px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blurple), #7289da);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--blurple-glow);
}

.brand-info h3 {
  font-size: 17px;
  font-weight: 700;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.status-indicator.online {
  color: var(--green);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(87, 242, 135, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(87, 242, 135, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(87, 242, 135, 0); }
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 12px;
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed);
  text-align: left;
}

.nav-item .icon {
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  flex-shrink: 0;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  transform: translateX(4px);
}

.nav-item.active {
  background: var(--blurple);
  color: #fff;
  box-shadow: 0 4px 14px var(--blurple-glow);
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
}

/* Content Area */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.topbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-radius: 0;
  border-right: none;
  border-top: none;
  border-left: none;
}

.topbar-title {
  display: flex;
  align-items: center;
}

.topbar-title h1 {
  font-size: 19px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
}

.topbar-title .page-title-icon {
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topbar-title .page-title-text {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.pill-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}

.scroll-container {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

/* Tab Management */
.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stat Grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
  position: relative !important;
  z-index: 1 !important;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
  position: relative;
  z-index: 1;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.icon-blurple { background: rgba(88, 101, 242, 0.15); color: var(--blurple); }
.icon-green   { background: rgba(87, 242, 135, 0.15); color: var(--green); }
.icon-amber   { background: rgba(254, 231, 92, 0.15); color: var(--yellow); }
.icon-red     { background: rgba(237, 66, 69, 0.15); color: var(--red); }

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  margin: 3px 0;
}

.stat-meta {
  font-size: 11px;
  color: var(--text-dim);
}

/* Two-column layout */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 992px) {
  .two-col-grid { grid-template-columns: 1fr; }
}

.card {
  padding: 24px;
}

.card-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
  font-size: 17px;
  font-weight: 600;
}

.bot-profile-info {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--blurple);
  box-shadow: 0 0 20px var(--blurple-glow);
  background: var(--bg-card);
}

.profile-meta h4 {
  font-size: 20px;
  margin-bottom: 6px;
}

.profile-meta p {
  font-size: 13px;
  margin: 3px 0;
}

code {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  color: var(--text-main);
}

.card-actions {
  display: flex;
  gap: 12px;
}

/* Quick Actions */
.quick-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-speed);
  text-align: left;
}

.action-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--blurple);
  transform: translateY(-2px);
}

.action-icon {
  font-size: 24px;
}

.action-text strong {
  display: block;
  font-size: 14px;
}

.action-text small {
  color: var(--text-muted);
  font-size: 12px;
}

/* Section Header */
.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Forms & Inputs */
.form-card {
  max-width: 800px;
}

.input-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="color"]):not([type="file"]),
input[type="text"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="email"],
input[type="search"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(14, 18, 27, 0.85) !important;
  background-color: #11141e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  font-size: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-speed) ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="url"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="search"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: rgba(148, 155, 164, 0.55);
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background-color: #151926 !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blurple) !important;
  box-shadow: 0 0 0 3px var(--blurple-glow), 0 4px 16px rgba(88, 101, 242, 0.25) !important;
  background-color: #171c2b !important;
}

/* Number input custom spinner styling */
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  filter: invert(0.85);
  opacity: 0.55;
  cursor: pointer;
  margin-left: 4px;
}

input[type="number"]:hover::-webkit-inner-spin-button,
input[type="number"]:hover::-webkit-outer-spin-button {
  opacity: 1;
}

/* Native select fallback styling with dark luxury look */
select {
  padding-right: 40px !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23949ba4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

select option {
  background-color: #131722 !important;
  color: #f2f3f5 !important;
  padding: 12px 16px !important;
  font-size: 14px;
}

select option:checked {
  background-color: #5865f2 !important;
  color: #ffffff !important;
  font-weight: 600;
}

select option:hover {
  background-color: #212738 !important;
}

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

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

input[type="color"] {
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border-color);
}

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

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

.btn-primary:hover {
  background: var(--blurple-hover);
  box-shadow: 0 4px 16px var(--blurple-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
  background: var(--red);
  color: #fff;
}

.btn-danger:hover {
  background: #c93b3e;
  box-shadow: 0 4px 16px rgba(237, 66, 69, 0.4);
}

.btn-danger-soft {
  background: rgba(237, 66, 69, 0.12);
  color: #ff6b6e;
  border: 1px solid rgba(237, 66, 69, 0.28);
}

.btn-danger-soft:hover {
  background: rgba(237, 66, 69, 0.25);
  border-color: rgba(237, 66, 69, 0.55);
  color: #fff;
  box-shadow: 0 4px 14px rgba(237, 66, 69, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-msg {
  font-size: 13px;
  font-weight: 500;
}

.status-msg.success { color: var(--green); }
.status-msg.error { color: var(--red); }

/* Switch Toggle */
.toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.toggle-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.toggle-info p {
  color: var(--text-muted);
  font-size: 12px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: 0.3s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--green); }
input:checked + .slider:before { transform: translateX(24px); }

/* Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(237, 66, 69, 0.15);
  border: 1px solid rgba(237, 66, 69, 0.3);
  color: #ff8e90;
  border-radius: 16px;
  font-size: 12px;
}

.tag-chip button {
  background: none;
  border: none;
  color: #ff8e90;
  cursor: pointer;
  font-weight: bold;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}

.data-table th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Servers Grid */
.guilds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.guild-card {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition-speed);
}

.guild-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.guild-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blurple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

/* Terminal Console */
.terminal-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080a0f;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.term-dot.red { background: #ff5f56; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #27c93f; }

.term-title {
  margin-left: 10px;
  font-size: 12px;
  font-family: monospace;
  color: var(--text-dim);
}

.terminal-body {
  padding: 18px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #a9b7c6;
  max-height: 500px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.input-with-button {
  display: flex;
  gap: 8px;
}

.mt-4 { margin-top: 16px; }
.mt-3 { margin-top: 12px; }
.mb-4 { margin-bottom: 24px; }
.hidden { display: none !important; }
.error-text { color: var(--red); font-size: 13px; margin-bottom: 12px; }
.flex-wrap { flex-wrap: wrap; }

/* Leveling & Discord Live Preview */
.stat-number-sm {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.helper-text {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.variable-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.chip-label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.chip-btn {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #c9cdfb;
  font-size: 12px;
  font-family: 'Consolas', monospace;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s ease;
}

.chip-btn:hover {
  background: var(--blurple);
  color: #fff;
  transform: translateY(-1px);
}

.badge-pill {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(87, 242, 135, 0.15);
  color: var(--green);
  border: 1px solid rgba(87, 242, 135, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Discord Live Simulation Box */
.discord-preview-box {
  background: #313338;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.discord-msg {
  display: flex;
  gap: 14px;
}

.discord-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blurple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.discord-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discord-msg-content {
  flex: 1;
  min-width: 0;
}

.discord-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.discord-bot-name {
  font-size: 14px;
  font-weight: 600;
  color: #f2f3f5;
}

.discord-bot-tag {
  background: var(--blurple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.2;
}

.discord-timestamp {
  font-size: 12px;
  color: #949ba4;
}

.discord-text {
  font-size: 14px;
  color: #dbdee1;
  margin-bottom: 8px;
  line-height: 1.4;
}

.discord-embed {
  background: #2b2d31;
  border-radius: 4px;
  display: flex;
  position: relative;
  overflow: hidden;
  max-width: 460px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.embed-color-bar {
  width: 4px;
  background: #fee75c;
  flex-shrink: 0;
}

.embed-content {
  padding: 12px 14px;
  flex: 1;
}

.embed-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  font-family: 'Outfit', sans-serif;
}

.embed-desc {
  font-size: 13px;
  color: #dbdee1;
  margin-bottom: 10px;
  line-height: 1.4;
}

.embed-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.embed-field {
  display: flex;
  flex-direction: column;
}

.field-name {
  font-size: 11px;
  font-weight: 600;
  color: #949ba4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field-val {
  font-size: 13px;
  font-weight: 600;
  color: #f2f3f5;
  margin-top: 2px;
}

.embed-progress {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.field-progress-bar {
  font-family: monospace;
  font-size: 12px;
  color: #fee75c;
  letter-spacing: -0.05em;
}

.embed-footer {
  font-size: 11px;
  color: #949ba4;
  margin-top: 4px;
}

.embed-thumb {
  padding: 12px 14px 12px 0;
  display: flex;
  align-items: flex-start;
}

.thumb-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1e1f22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-tip {
  color: var(--text-dim);
  font-size: 12px;
  line-height: 1.4;
}

.discord-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.discord-btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4e5058;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  user-select: none;
  transition: background 0.2s ease;
}

.discord-btn-preview:hover {
  background: #6d6f78;
}

.discord-btn-preview.btn-primary {
  background: #5865f2;
}

.discord-btn-preview.btn-primary:hover {
  background: #4752c4;
}

/* Leaderboard & Adjustments */
.member-adjust-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.adjust-form-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.adjust-form-row .input-group {
  flex: 1;
  min-width: 140px;
}

.table-progress-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blurple), var(--green));
  border-radius: 3px;
}

/* Bot Restart Modal & Reconnecting Toast */
.spin-anim {
  animation: spin 1s linear infinite;
  display: inline-block;
}

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

.reconnect-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(18, 20, 29, 0.95);
  border: 1px solid rgba(88, 101, 242, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 16px rgba(88, 101, 242, 0.25);
  backdrop-filter: blur(16px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slideUp 0.3s ease-out;
  max-width: 420px;
}

.reconnect-toast.hidden {
  display: none !important;
}

.reconnect-toast.success {
  border-color: rgba(87, 242, 135, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 16px rgba(87, 242, 135, 0.25);
}

/* Discord OAuth2 & Multi-Tenant Management Styles */
.btn-discord {
  background: #5865F2;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
  transition: all var(--transition-speed);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  width: 100%;
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
  transform: translateY(-1px);
}

.btn-discord svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-divider span {
  padding: 0 12px;
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.user-profile-badge.hidden {
  display: none !important;
}

.user-profile-badge img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--blurple);
  flex-shrink: 0;
}

.user-profile-info {
  flex: 1;
  overflow: hidden;
}

.user-profile-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-role-pill.admin {
  background: rgba(88, 101, 242, 0.2);
  color: #7983f5;
  border: 1px solid rgba(88, 101, 242, 0.3);
}

.user-role-pill.owner {
  background: rgba(241, 196, 15, 0.18);
  color: #ffd000;
  border: 1px solid rgba(241, 196, 15, 0.35);
}

.guild-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  gap: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(18, 20, 29, 0.7);
  transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.guild-card:hover {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.guild-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.guild-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.guild-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
}

.guild-status-badge.installed {
  background: rgba(87, 242, 135, 0.15);
  color: #57F287;
  border: 1px solid rgba(87, 242, 135, 0.3);
}

.guild-status-badge.not-installed {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.guild-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.owner-only.hidden-for-member {
  display: none !important;
}

.member-only.hidden-for-member {
  display: none !important;
}

/* Leveling System Customization & Speed UI */
.speed-slider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.speed-slider-wrap input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speed-slider-wrap input[type="range"]:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(88, 101, 242, 0.4);
}

.speed-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865f2, #7289da);
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 12px rgba(88, 101, 242, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.speed-slider-wrap input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.95);
}

.speed-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865f2, #7289da);
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 12px rgba(88, 101, 242, 0.6);
  cursor: pointer;
}

.speed-slider-wrap input[type="range"]::-moz-range-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

#leveling-xp-rate-input {
  width: 75px !important;
  text-align: center;
  font-weight: 700;
  font-family: 'Consolas', monospace;
  background-color: #11141e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm);
  color: var(--text-main) !important;
  height: 42px;
}

.slider-val-badge {
  display: inline-block;
  min-width: 58px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 8px;
  background: rgba(88, 101, 242, 0.2);
  color: #c9cdfb;
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--radius-sm);
}

.roles-reward-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.role-reward-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.role-reward-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.role-reward-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.role-level-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(254, 231, 92, 0.15);
  border: 1px solid rgba(254, 231, 92, 0.3);
  padding: 3px 8px;
  border-radius: 12px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-normal);
}

.role-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.channel-checkbox-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 10px !important;
  max-height: 190px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 12px !important;
  background: rgba(14, 18, 27, 0.75) !important;
  background-color: #11141e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm) !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(0, 0, 0, 0.25) !important;
}

/* Custom dark scrollbar for channel grid */
.channel-checkbox-grid::-webkit-scrollbar {
  width: 6px !important;
}
.channel-checkbox-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.25) !important;
  border-radius: 4px !important;
}
.channel-checkbox-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25) !important;
  border-radius: 4px !important;
}
.channel-checkbox-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

.channel-check-item,
.channel-checkbox-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 13px !important;
  color: var(--text-main) !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.channel-check-item:hover,
.channel-checkbox-item:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.channel-check-item input[type="checkbox"],
.channel-checkbox-item input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--blurple) !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.channel-check-item span,
.channel-checkbox-item span {
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 !important;
  text-align: left !important;
}

/* ========================================================
   Luxury Custom Select Dropdown System
   ======================================================== */
.luxury-select-container {
  position: relative;
  width: 100%;
  user-select: none;
}

.luxury-select-container.open {
  z-index: 100000 !important;
  position: relative !important;
}

.luxury-parent-open,
.card:has(.luxury-select-container.open),
.glass-panel:has(.luxury-select-container.open),
.form-card:has(.luxury-select-container.open),
.input-group:has(.luxury-select-container.open) {
  position: relative !important;
  z-index: 99999 !important;
}

.luxury-select-container.hidden {
  display: none !important;
}

.luxury-select-native-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.luxury-select-trigger {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(22, 27, 40, 0.92) 0%, rgba(14, 18, 27, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.luxury-select-trigger:hover {
  border-color: rgba(88, 101, 242, 0.5);
  background: linear-gradient(180deg, rgba(28, 34, 52, 0.94) 0%, rgba(18, 23, 34, 0.98) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 16px rgba(88, 101, 242, 0.2);
  transform: translateY(-1px);
}

.luxury-select-container.open .luxury-select-trigger {
  border-color: var(--blurple);
  box-shadow: 0 0 0 3px var(--blurple-glow), 0 8px 25px rgba(0, 0, 0, 0.5);
  background: rgba(18, 23, 34, 0.98);
}

.luxury-select-value {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.luxury-select-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.35), rgba(114, 137, 218, 0.18));
  border: 1px solid rgba(88, 101, 242, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #c9cdfb;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.2);
}

.luxury-select-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.luxury-select-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.luxury-select-title.placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.luxury-select-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #c9cdfb;
  white-space: nowrap;
  margin-left: 6px;
  flex-shrink: 0;
}

.luxury-select-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.luxury-select-arrow svg {
  width: 16px;
  height: 16px;
}

.luxury-select-container.open .luxury-select-arrow {
  transform: rotate(180deg);
  color: var(--blurple);
}

/* Luxury Dropdown Menu Floating Popover */
.luxury-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(14, 18, 27, 0.97);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(88, 101, 242, 0.25);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 100001 !important;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  pointer-events: none;
}

.luxury-select-container.open .luxury-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Search input inside dropdown */
.luxury-select-search-wrap {
  position: relative;
  margin-bottom: 8px;
  padding: 0 4px;
}

.luxury-select-search-wrap .search-svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.luxury-select-search {
  width: 100%;
  padding: 8px 12px 8px 36px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  outline: none;
  box-shadow: none !important;
}

.luxury-select-search:focus {
  border-color: var(--blurple) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Options list */
.luxury-select-options {
  max-height: 250px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  overscroll-behavior-y: contain !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 6px 4px 2px;
  box-sizing: border-box !important;
  width: 100% !important;
}

.luxury-select-options::-webkit-scrollbar {
  width: 6px;
  height: 0px !important;
}

.luxury-select-options::-webkit-scrollbar:horizontal {
  display: none !important;
  width: 0px !important;
  height: 0px !important;
}

.luxury-select-options::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.luxury-select-options::-webkit-scrollbar-thumb {
  background: rgba(88, 101, 242, 0.35);
  border-radius: 4px;
}

.luxury-select-options::-webkit-scrollbar-thumb:hover {
  background: rgba(88, 101, 242, 0.65);
}

.luxury-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  gap: 12px;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.luxury-select-option:hover {
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.22) 0%, rgba(88, 101, 242, 0.06) 100%);
  border-color: rgba(88, 101, 242, 0.35);
  padding-left: 14px;
}

.luxury-select-option.selected {
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.35) 0%, rgba(88, 101, 242, 0.12) 100%);
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 2px 10px rgba(88, 101, 242, 0.25);
}

.luxury-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.luxury-option-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #c9cdfb;
  flex-shrink: 0;
}

.luxury-select-option.selected .luxury-option-icon {
  background: var(--blurple);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 0 10px var(--blurple-glow);
}

.luxury-option-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.luxury-select-option.selected .luxury-option-title {
  font-weight: 700;
  color: #fff;
}

.luxury-option-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.luxury-option-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.luxury-select-option:hover .luxury-option-badge {
  background: rgba(88, 101, 242, 0.22);
  color: #c9cdfb;
}

.luxury-option-check {
  display: none;
  width: 16px;
  height: 16px;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

.luxury-select-option.selected .luxury-option-check {
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 8px var(--green-glow);
}

.luxury-select-no-results {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Luxury Leveling Palette Selector */
.palette-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  color: #f2f3f5;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.palette-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.palette-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ff9e00;
  box-shadow: 0 0 12px rgba(255, 158, 0, 0.3);
}

.palette-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

