@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Global Mythic Cursor */
html, body {
  cursor: url('../img/gauntlet-cursor.png'), auto;
}
a, button, [role="button"], .btn, .card-hover, .sidebar-nav-item, input[type="submit"], input[type="button"] {
  cursor: url('../img/gauntlet-cursor.png') 2 2, pointer !important;
}


:root {
  /* Void Echo Core Palette (Premium Updated) */
  --bg-color: #050505;
  --panel-bg: rgba(15, 15, 18, 0.7);
  --surface: rgba(26, 26, 32, 0.6);
  --surface-low: #1c1b1b;
  --surface-high: #2a2a2a;
  --surface-highest: #353534;
  
  --primary: #ffdca1;
  --primary-glow: #ffb800;
  --on-primary: #412d00;
  
  --secondary: #b6c6f0;
  --secondary-container: #364669;
  
  --text-main: #f3f4f6;
  --text-dim: #d1d5db;
  --text-muted: #9ca3af;
  
  /* Status Colors */
  --success: #10b981;
  --error: #ef4444;
  --wow-red: #ef4444;
  --wow-orange: #f59e0b;
  --wow-green: #10b981;
  --alliance: #3b82f6;
  --horde: #ef4444;
  
  /* Class Colors */
  --death-knight: #C41E3A;
  --demon-hunter: #A330C9;
  --druid: #FF7C0A;
  --evoker: #33937F;
  --hunter: #AAD372;
  --mage: #3FC7EB;
  --monk: #00FF98;
  --paladin: #F48CBA;
  --priest: #FFFFFF;
  --rogue: #FFF468;
  --shaman: #0070DD;
  --warlock: #8788EE;
  --warrior: #C69B6D;
  
  /* Effects */
  --glass-bg: rgba(18, 18, 24, 0.65);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.8);
  --primary-shadow: 0 0 25px rgba(255, 184, 0, 0.2);
  --premium-gradient: linear-gradient(135deg, #ffdca1 0%, #ffb800 100%);
  
  /* Form & UI Missing Defaults */
  --bg-card: rgba(15, 15, 18, 0.85);
  --input-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 184, 0, 0.4);
  --text-accent: #ffffff;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes glow-pulse {
  0% { box-shadow: 0 0 5px rgba(255, 184, 0, 0.2); }
  50% { box-shadow: 0 0 20px rgba(255, 184, 0, 0.4); }
  100% { box-shadow: 0 0 5px rgba(255, 184, 0, 0.2); }
}

@keyframes hot-pulse {
  0% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.3), inset 0 0 5px rgba(245, 158, 11, 0.1); }
  50% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.6), inset 0 0 15px rgba(245, 158, 11, 0.2); border-color: var(--wow-orange); }
  100% { box-shadow: 0 0 5px rgba(245, 158, 11, 0.3), inset 0 0 5px rgba(245, 158, 11, 0.1); }
}

@keyframes glass-fade-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulse-red {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: transparent;
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Animated Mesh Background Engine */
.mesh-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 15% 50%, rgba(255, 184, 0, 0.07), transparent 50%),
    radial-gradient(ellipse at 85% 25%, rgba(59, 130, 246, 0.05), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.10), transparent 45%);
  background-color: #030305;
  animation: meshPulse 25s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* Glow text utility */
.glow-text {
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.4), 0 0 60px rgba(255, 184, 0, 0.1);
}


h1, h2, h3, h4, h5, h6 {
  color: var(--text-accent);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

img { max-width: 100%; height: auto; display: block; }

header {
  display: none; /* Reemplazado por sidebar */
}

/* APP LAYOUT SPA */
.app-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  gap: 20px;
  padding: 20px;
  gap: 20px;
  padding: 20px;
}

.sidebar {
  background: rgba(12, 12, 18, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  margin-bottom: 2rem;
  padding-left: 10px;
}

.sidebar-header .logo-title {
  text-shadow: 0 0 25px rgba(255, 184, 0, 0.4);
}
.sidebar-header .logo-title-OLD {
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.3));
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-btn {
  display: block;
  text-decoration: none;
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: rgba(255, 184, 0, 0.06);
  color: #fff;
}

.nav-btn.active {
  background: rgba(255, 184, 0, 0.1);
  color: var(--primary-glow);
  font-weight: 700;
  box-shadow: inset 4px 0 0 var(--primary-glow), 0 0 20px rgba(255, 184, 0, 0.18);
}

.main-content {
  padding: 2.5rem 3rem;
  overflow-y: auto;
  background: transparent;
  position: relative;
  height: calc(100vh - 40px);
}

/* Luxury Tabs/Categories */
.tab-pane {
  display: none;
  animation: glass-fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-glow);
  letter-spacing: -0.05em;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.2);
}

.auth-area {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.1);
}

/* Premium Buttons */
.btn {
  background: var(--surface-high);
  color: var(--text-main);
  border: var(--glass-border);
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
}
/* Animated Mesh Background Engine */
.mesh-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 15% 50%, rgba(255, 184, 0, 0.07), transparent 50%),
    radial-gradient(ellipse at 85% 25%, rgba(59, 130, 246, 0.05), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.10), transparent 45%);
  background-color: #030305;
  animation: meshPulse 25s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* Glow text utility */
.glow-text {
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.4), 0 0 60px rgba(255, 184, 0, 0.1);
}


h1, h2, h3, h4, h5, h6 {
  color: var(--text-accent);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

img { max-width: 100%; height: auto; display: block; }

header {
  display: none; /* Reemplazado por sidebar */
}

/* APP LAYOUT SPA */
.app-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  gap: 20px;
  padding: 20px;
  gap: 20px;
  padding: 20px;
}

.sidebar {
  background: rgba(12, 12, 18, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  margin-bottom: 2rem;
  padding-left: 10px;
}

.sidebar-header .logo-title {
  text-shadow: 0 0 25px rgba(255, 184, 0, 0.4);
}
.sidebar-header .logo-title-OLD {
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.3));
  gap: 8px;
  letter-spacing: -0.01em;
}

/* Animated Mesh Background Engine */
.mesh-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: 
    radial-gradient(ellipse at 15% 50%, rgba(255, 184, 0, 0.07), transparent 50%),
    radial-gradient(ellipse at 85% 25%, rgba(59, 130, 246, 0.05), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(139, 92, 246, 0.10), transparent 45%);
  background-color: #030305;
  animation: meshPulse 25s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* Glow text utility */
.glow-text {
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.4), 0 0 60px rgba(255, 184, 0, 0.1);
}


.btn:hover {
  background: var(--surface-highest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.btn-primary {
  background: var(--premium-gradient);
  color: #211700;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fff 0%, #ffc933 100%);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.15);
}

.btn-danger-dark {
  background: rgba(255, 180, 171, 0.05);
  color: #ffb4ab;
  border: 1px solid rgba(255, 180, 171, 0.15);
}

.btn-danger-dark:hover {
  background: #93000a;
  color: #ffffff;
  border-color: #ffb4ab;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 850px 1fr;
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
}

/* Wowlfg Form Reset */
.form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form-row.half-row {
  grid-template-columns: 1fr 1fr;
}

.form-row.three-col {
  grid-template-columns: 1fr 1fr 0.5fr 1fr;
}

.form-row.four-col {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.form-row.roles-row {
  grid-template-columns: 1fr 1fr;
}

.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  top: -10px;
  left: 12px;
  background: #0f0f12; /* Fallback opaque background to cover borders */
  padding: 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  z-index: 10;
  border-radius: 4px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-accent);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
  backdrop-filter: blur(8px);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-glow);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

select.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-accent);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
  backdrop-filter: blur(8px);
}

/* Composite Grid Inputs */
.input-suffix {
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  padding-right: 16px;
  transition: all 0.3s ease;
}
.input-suffix input {
  border: none;
  background: transparent;
  flex-grow: 1;
}
.input-suffix input:focus {
  box-shadow: none;
}
.input-suffix span {
  font-size: 0.85rem;
  color: var(--wow-orange);
  white-space: nowrap;
}

/* Toggles */
.align-center-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.toggle-label {
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--border-color);
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #6b7280;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #3b82f6; /* Wowlfg purpleish active */
}

input:focus + .slider {
  box-shadow: 0 0 1px #3b82f6;
}

input:checked + .slider:before {
  transform: translateX(20px);
  background-color: #fff;
}

/* Premium Horizontal Offer Card (Wowlfg Style) */
.request-card-premium {
  background: rgba(12, 12, 18, 0.55);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  cursor: pointer;
  margin-bottom: 12px;
  animation: glass-fade-in 0.5s ease-out;
}

.request-card-premium.hot-offer {
  animation: glass-fade-in 0.5s ease-out, hot-pulse 2s infinite ease-in-out;
  border-color: var(--wow-orange) !important;
}

.request-card-premium:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.request-card-premium.expanded {
  border-color: var(--wow-orange) !important;
}

.card-premium-header {
  display: grid;
  grid-template-columns: 80px 1fr 160px 180px;
  align-items: center;
  min-height: 80px;
}

.card-avatar-section {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  position: relative;
}

.card-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.card-faction-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 0.9rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.card-info-section {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: var(--glass-border);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-subtitle {
  font-size: 0.85rem;
  color: var(--text-main);
}

.card-short-id {
  font-size: 0.7rem;
  color: #4b5563;
  margin-top: 5px;
  font-family: monospace;
}

.card-price-section {
  text-align: center;
  padding: 10px;
  border-right: var(--glass-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-price-main {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--wow-orange);
}

.card-price-sub {
  font-size: 0.75rem;
  color: var(--text-main);
  margin-top: 2px;
}

.card-meta-section {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.8rem;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Expandable Details */
.card-premium-details {
  display: none; /* Hidden by default */
  background: rgba(0,0,0,0.3);
  padding: 25px;
  border-top: 1px solid var(--border-color);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 10px;
}

.card-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-section-header {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 5px;
}

.card-section-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.discord-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
  position: relative;
}

.discord-divider::after {
  content: 'â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”â”';
  position: absolute;
  top: -10px;
  left: 0;
  color: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  letter-spacing: -1px;
}

.premium-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.premium-stat label {
  color: #6b7280;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
}

.premium-stat span {
  color: #fff;
  font-weight: 600;
}

.detail-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

.detail-value {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}

.detail-subtext {
  font-size: 0.8rem;
  color: var(--text-main);
}

/* Chat Images */
.chat-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.chat-img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: transform 0.2s;
}

.chat-img:hover {
  transform: scale(1.02);
}

.lf-icons {
  display: flex;
  gap: 5px;
}

.lf-icon {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.lf-icon.filled {
  border-color: var(--wow-green);
  color: var(--wow-green);
  opacity: 1;
}

.lf-icon.empty {
  opacity: 0.3;
}

/* Management Tabs Bar */
.mgmt-tabs-bar {
  display: flex;
  flex-direction: column; /* Changed to vertical for better categorization */
  gap: 2px;
  background: rgba(0,0,0,0.3);
  padding: 10px;
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
  overflow-y: auto;
  max-height: 300px;
  border: 1px solid var(--border-color);
  border-bottom: none;
}

.mgmt-nav-section {
  font-size: 0.7rem;
  color: #6b7280;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 10px 0 5px 10px;
  text-transform: uppercase;
}

.mgmt-tab-item {
  padding: 10px 15px;
  background: #090911;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.mgmt-tab-item:hover {
  background: #11111d;
  color: #fff;
  border-color: rgba(59, 130, 246, 0.3);
}

.mgmt-tab-item.active {
  background: rgba(30, 64, 175, 0.2);
  color: #fff;
  border-color: #3b82f6;
  border-left: 4px solid #3b82f6;
}

.mgmt-tab-item.closed {
  opacity: 0.6;
  filter: grayscale(0.5);
  font-size: 0.8rem;
}

.mgmt-tab-item.closed:hover {
  opacity: 1;
  filter: grayscale(0);
}


.req-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.req-dungeon {
  font-size: 1.2rem;
  color: var(--text-accent);
  font-weight: 600;
}

.req-badges {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.badge {
  background: var(--input-bg);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.req-price {
  color: var(--wow-orange);
  font-weight: bold;
  font-size: 1.2rem;
}

.booster-apps {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booster-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--input-bg);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.booster-item:hover {
  background: #1a1e2d;
  border-color: #2a3356;
}

.booster-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.booster-avatar-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booster-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.booster-subtext {
  font-size: 0.8rem;
  color: #6b7280;
}

.booster-maintext {
  font-size: 0.95rem;
  color: var(--text-accent);
  font-weight: 500;
}

.booster-icons {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booster-badges {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: bold;
}

.booster-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-invite {
  background: transparent;
  color: var(--wow-green);
  border: 1px solid var(--wow-green);
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.btn-invite:hover {
  background: rgba(16, 185, 129, 0.1);
}

.btn-hide {
  background: transparent;
  color: #8b5cf6;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.btn-action-right {
  background: transparent;
  color: var(--wow-green);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
}
.btn-action-right.blacklist {
  color: var(--wow-orange);
}

.hidden {
  display: none !important;
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.toast {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  color: var(--text-accent);
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CHARACTERS GRID (wowlfg style) ========== */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.char-card {
  background: #0d0f18;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  grid-template-columns: 55px 1fr auto auto;
  gap: 12px;
  align-items: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.char-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.char-card:hover {
  border-color: #2a3356;
  background: #111322;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.char-avatar {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  object-fit: cover;
}

.char-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.char-name {
  font-weight: 700;
  font-size: 1rem;
}

.char-class {
  font-size: 0.8rem;
  opacity: 0.8;
}

.char-realm {
  font-size: 0.75rem;
  color: #6b7280;
}

.char-mplus {
  text-align: center;
}

.char-mplus-label {
  font-size: 0.7rem;
  color: #6b7280;
  display: block;
}

.char-mplus-score {
  font-size: 1.3rem;
  font-weight: 800;
}

.char-stats {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.char-stat-row {
  font-size: 0.8rem;
  color: var(--text-main);
}

.char-stat-row span {
  color: #fff;
  font-weight: 600;
}

/* Class Colors */
.class-death-knight { color: #C41E3A; }
.class-demon-hunter { color: #A330C9; }
.class-druid { color: #FF7C0A; }
.class-evoker { color: #33937F; }
.class-hunter { color: #AAD372; }
.class-mage { color: #3FC7EB; }
.class-monk { color: #00FF98; }
.class-paladin { color: #F48CBA; }
.class-priest { color: #FFFFFF; }
.class-rogue { color: #FFF468; }
.class-shaman { color: #0070DD; }
.class-warlock { color: #8788EE; }
.class-warrior { color: #C69B6D; }

.border-death-knight::before { background: #C41E3A; }
.border-demon-hunter::before { background: #A330C9; }
.border-druid::before { background: #FF7C0A; }
.border-evoker::before { background: #33937F; }
.border-hunter::before { background: #AAD372; }
.border-mage::before { background: #3FC7EB; }
.border-monk::before { background: #00FF98; }
.border-paladin::before { background: #F48CBA; }
.border-priest::before { background: #FFFFFF; }
.border-rogue::before { background: #FFF468; }
.border-shaman::before { background: #0070DD; }
.border-warlock::before { background: #8788EE; }
.border-warrior::before { background: #C69B6D; }

/* Score color tiers */
.score-gray { color: #6b7280; }
.score-green { color: #10b981; }
.score-blue { color: #3b82f6; }
.score-purple { color: #8b5cf6; }
.score-orange { color: #f59e0b; }
.score-red { color: #ef4444; }

/* ========== MANAGEMENT VIEW (PREMIUM) ========== */
.management-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 25px;
  align-items: start;
}

.mgmt-main-col {
  min-width: 0;
}

.mgmt-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.mgmt-booster-card {
  background: #0d0f18;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 15px;
  position: relative;
  transition: transform 0.2s;
}

.mgmt-booster-card:hover { border-color: #3b82f6; }

.mgmt-booster-card.hired { border-left: 4px solid var(--wow-green); }

.mgmt-booster-avatar { width: 60px; height: 60px; border-radius: 8px; border: 2px solid var(--border-color); }

.mgmt-booster-info h4 { color: #fff; margin-bottom: 4px; font-size: 1.05rem; }

.chat-integrated-container {
  height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0d0f18;
  border-radius: 12px;
}

.chat-messages.compact {
  padding: 12px;
  font-size: 0.85rem;
}

@media (max-width: 1000px) {
  .management-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .characters-grid {
    grid-template-columns: 1fr;
  }
}

.btn-edit {
  background: rgba(245, 158, 11, 0.1);
  color: var(--wow-orange);
  border: 1px solid var(--wow-orange);
}
.btn-edit:hover {
  background: var(--wow-orange);
  color: #000;
}

.btn-delete {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
}
.btn-delete:hover {
  background: #ef4444;
  color: #fff;
}

/* Modal Enhancements */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.modal.hidden {
  display: none !important;
}

.modal-content {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalScale 0.3s ease;
}

/* Premium Card Details Grid (4 columns) */
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.details-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.details-block {
  margin-bottom: 5px;
}

.details-block-header {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.premium-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.premium-stat label {
  color: #9ca3af;
}

.premium-stat span {
  color: #fff;
  font-weight: 600;
}

.card-premium-details {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1100px) {
  .details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .details-grid { grid-template-columns: 1fr; }
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.close-btn {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 2rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

/* ==========================================
   INVITE NOTIFICATION MODAL (Big/Premium)
   ========================================== */

#invite-notification-modal {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.invite-modal-container {
  background: linear-gradient(145deg, #151828 0%, #0d0f18 100%);
  border: 2px solid #3b82f6;
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  padding: 40px;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
  animation: modalScaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

@keyframes modalScaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.invite-modal-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Paid States */
.btn-mark-paid {
  background: var(--wow-orange) !important;
  color: #000 !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-mark-paid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
  filter: brightness(1.1);
}

.paid-badge-large {
  background: rgba(16, 185, 129, 0.1);
  color: var(--wow-green);
  font-weight: 900;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invite-header {
  text-align: center;
  margin-bottom: 30px;
}

.invite-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.invite-header p {
  color: #9ca3af;
  font-size: 1.1rem;
}

.invite-embed-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}

.invite-actions {
  display: flex;
  gap: 20px;
}

.btn-invite {
  flex: 1;
  padding: 18px;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-invite-accept {
  background: var(--wow-green);
  color: #000 !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-invite-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.btn-invite-reject {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-invite-reject:hover {
  background: rgba(239, 68, 68, 0.2);
  transform: translateY(-3px);
}

.armor-opt:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* Region Selector Styles */
.region-selector-wrapper {
  position: relative;
  display: inline-block;
}

.region-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1c2c;
  border: 1px solid #1f2747;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 100;
  min-width: 180px;
  margin-top: 5px;
  overflow: hidden;
  animation: fadeInDown 0.2s ease-out;
}

.region-dropdown.show {
  display: block;
}

.region-dropdown a {
  display: block;
  padding: 12px 15px;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.region-dropdown a:last-child {
  border-bottom: none;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.05); }
.dropdown-item img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 4px;
  object-fit: cover;
}
.dropdown-item span { font-size: 0.9rem; color: #d1d5db; }
.dropdown-item.active { background: rgba(59, 130, 246, 0.1); border-left: 3px solid var(--wow-orange); }

.selected-icon-bubble {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  margin-right: 2px;
}

/* Premium Class Icons */
.class-icon-premium {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  vertical-align: middle;
}

.class-icon-premium:hover {
  transform: scale(1.1);
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.sidebar-header img {
  transition: all 0.5s ease;
}

.sidebar-header img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6)) !important;
}

.char-class {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.role-icon-svg {
  width: 18px !important;
  height: 18px !important;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
  vertical-align: middle;
}

.lf-icon .role-icon-svg {
  width: 16px;
  height: 16px;
}

.lf-icon.empty .role-icon-svg {
  opacity: 0.3;
  filter: grayscale(1);
}


/* Premium Modals & Sections */
.modal-section {
  background: rgba(13, 15, 24, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 15px;
  margin-bottom: 20px;
}
.modal-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 15px;
  opacity: 0.9;
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Armor Selector Control */
.armor-selector {
  display: flex;
  gap: 12px;
  background: #0b0e14;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.armor-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 60px !important;
  height: 60px !important;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.05);
  background: #11151c;
  opacity: 0.6;
}
.armor-opt img { width: 32px !important; height: 32px !important; transition: all 0.3s; }
.armor-opt span { font-size: 0.70rem; font-weight: 800; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; }
.armor-opt:hover { background: #1a202c; opacity: 0.9; transform: translateY(-2px); }
.armor-opt.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: #F59E0B;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3), inset 0 0 10px rgba(245, 158, 11, 0.1);
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}
.armor-opt.active img { filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5)); }
.armor-opt.active span { color: #F59E0B; }

/* Class Eligibility Grid */
.class-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 12px;
  margin-top: 15px;
}
.class-opt {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  background-size: cover;
  filter: grayscale(1) brightness(0.6);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.class-opt:hover { filter: grayscale(0.2) brightness(0.9); transform: scale(1.1); }
.class-opt.active {
  filter: grayscale(0) brightness(1.2);
  border-color: #F59E0B;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  transform: scale(1.15);
}

.class-opt img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .class-grid { grid-template-columns: repeat(7, 1fr); }
}

/* ==========================================
   LIVE ROSTER (Real-time Booster Display)
   ========================================== */
.live-roster {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.roster-header {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #F59E0B;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.roster-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  margin-bottom: 6px;
  transition: all 0.2s;
}
.roster-row:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(245, 158, 11, 0.15);
}
.roster-role-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
}
.roster-char {
  font-weight: 800;
  font-size: 0.85rem;
  min-width: 100px;
}
.roster-io {
  font-weight: 900;
  font-size: 0.8rem;
  min-width: 70px;
}
.roster-ilvl {
  font-weight: 700;
  font-size: 0.75rem;
  color: #94a3b8;
  min-width: 60px;
}
.roster-status {
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: auto;
}

/* Custom Multi-Select Dropdown */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-header {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 48px;
  position: relative;
}

.dropdown-header:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.dropdown-header.active {
  border-color: var(--wow-orange);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

/* Floating Label Style (Discord-like) */
.custom-dropdown::before {
  content: attr(data-label);
  position: absolute;
  top: -8px;
  left: 12px;
  background: var(--bg-card);
  padding: 0 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}

.selected-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.selected-icon-bubble {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.dropdown-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clear-btn {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ef4444;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.clear-btn:hover { opacity: 1; }

.chevron {
  font-size: 0.8rem;
  color: #4b5563;
  transition: transform 0.3s;
}

.dropdown-header.active .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #0f111a;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: #9ca3af;
}

.dropdown-item img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item span {
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.dropdown-item.active {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.dropdown-item.active img {
  border-color: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}
/* ==========================================
   ENHANCED BOOSTER CHARACTER SETTINGS
   ========================================== */

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.char-settings-card {
    background: #0d0f18;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.char-settings-card:hover {
    border-color: #3b82f644;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Left Section: Identity & Roles */
.char-set-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.char-set-identity {
    display: flex;
    gap: 12px;
    align-items: center;
}

.char-set-avatar-wrapper {
    position: relative;
}

.char-set-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.char-set-include-check {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--wow-green);
    color: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid #0d0f18;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.char-set-include-check.inactive {
    background: #1f2747;
    color: #6b7280;
    box-shadow: none;
}

.char-set-name {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    line-height: 1.2;
}

.char-set-sub {
    font-size: 0.75rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Role Selector (Image 2 style) */
.char-set-roles {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.role-set-opt {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s;
    width: 45px;
}

.role-set-opt:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.role-set-opt.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.role-set-icon {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.role-set-opt.active .role-set-icon {
    opacity: 1;
    filter: drop-shadow(0 0 5px #3b82f6);
}

.char-set-stats {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: var(--text-main);
    opacity: 0.8;
}

/* Right Section: Key Management */
.char-set-right {
    flex: 1.5;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 12px;
    border-left: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.char-set-input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.char-set-input-group label {
    font-size: 0.75rem;
    color: var(--text-main);
    font-weight: 600;
}

.char-set-input-group select,
.char-set-input-group input[type="number"] {
    background: #090911;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8rem;
    text-align: right;
}

.char-set-input-group select {
    text-align: left;
    width: 140px;
}

.char-set-in.char-settings-card {
    background: #0d0f18;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    gap: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.char-settings-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--wow-orange);
    opacity: 0.5;
}

.char-set-grid {
    display: flex;
    gap: 15px;
    flex: 1;
    width: 100%;
    flex-wrap: wrap; /* Permite que la configuraciÃ³n baje si no hay espacio */
}

.char-set-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 1;
}

.char-set-column.identity { flex: 1.5; min-width: 180px; }
.char-set-column.mplus { flex: 1; min-width: 100px; border-left: 1px solid rgba(255,255,255,0.05); padding-left: 15px; }
.char-set-column.raid { flex: 1; min-width: 120px; border-left: 1px solid rgba(255,255,255,0.05); padding-left: 15px; }
.char-set-column.settings { flex: 2; min-width: 200px; border-left: 1px solid rgba(255,255,255,0.05); padding-left: 15px; }

/* Refined Titles */
.col-title {
    font-size: 0.7rem;
    font-weight: 900;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 4px;
}

.mplus-role-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-accent);
}

.mplus-role-row img {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

.score-val {
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.raid-prog-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.raid-prog-name {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 700;
}

.raid-prog-levels {
    display: flex;
    gap: 10px;
    font-size: 0.7rem;
    color: var(--text-main);
}

.raid-prog-val {
    font-weight: 800;
    color: var(--wow-orange);
}

.achiev-badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--wow-orange);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-left: 8px;
}

.char-set-input-group input[type="number"] {
    width: 50px;
}

/* ==========================================================================
   PREMIUM MODAL SYSTEM (Wowlfg Style)
   ========================================================================== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.modal-content {
  background: #11131f;
  border: 1px solid #1f2747;
  border-radius: 16px;
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 20px 25px;
  background: #151828;
  border-bottom: 1px solid #1f2747;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.modal-body {
  flex: 1;
  padding: 25px;
  overflow-y: auto;
  background: #0d0f18;
}

.modal-footer {
  padding: 20px 25px;
  background: #151828;
  border-top: 1px solid #1f2747;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal.hidden { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Custom scrollbar for modal body */
.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: #0d0f18;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #1f2747;
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #2d3863;
}

/* Redefined Role Sections for Modal */
.modal-section {
  margin-bottom: 30px;
}

.modal-section-title {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--wow-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* ==========================================
   PAYMENT CHARACTERS UI
   ========================================== */
.payment-chars-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.payment-realm-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s;
}

.payment-realm-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.payment-realm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-realm-header img {
  width: 20px;
  border-radius: 2px;
}

.payment-char-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-char-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.payment-char-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.payment-char-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-accent);
}

.payment-char-faction {
  width: 14px;
  height: 14px;
}

.btn-delete-payment {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-delete-payment:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--wow-red);
}

.payment-add-card {
  border: 2px dashed var(--border-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  cursor: pointer;
  transition: all 0.2s;
  color: #6b7280;
  font-weight: 600;
  border-radius: 12px;
}

.payment-add-card:hover {
  border-color: var(--wow-orange);
  color: var(--wow-orange);
  background: rgba(245, 158, 11, 0.02);
}

/* Modal specific for Payment Add */
.payment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

/* ========== ADVANCED CHAT STYLES (Discord-ish) ========== */
.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #090911;
  scrollbar-width: thin;
  scrollbar-color: #1f2747 transparent;
}

.chat-group {
  display: flex !important;
  gap: 12px !important;
  width: 100% !important;
  align-items: flex-start !important;
  margin-bottom: 5px;
  flex-direction: row !important;
}

.chat-avatar-wrapper {
  flex-shrink: 0;
  margin-top: 4px;
}

.chat-avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.05);
  object-fit: cover !important;
}

.chat-content {
  flex: 1;
  min-width: 0;
}

.chat-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.chat-sender-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.chat-timestamp {
  font-size: 0.7rem;
  color: #4b5563;
  font-weight: 500;
}

.chat-text {
  color: #d1d5db;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.chat-image {
  margin-top: 10px;
  max-width: 100%;
  max-height: 450px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: zoom-in;
  display: block;
}

.chat-input-area {
  padding: 12px 15px;
  background: #1a1a2e;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-chat-attach {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 5px;
  color: #9ca3af;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-chat-attach:hover {
  color: #fff;
  transform: rotate(15deg) scale(1.1);
}

/* ========== INTEGRATED CHAT PANEL LOGIC ========== */

.chat-panel-integrated {
  display: flex;
  flex-direction: column;
  height: 500px;
  background: #0B0E14;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header-minimal {
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #F59E0B;
  letter-spacing: 1.5px;
}

.online-indicator {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.chat-input-row {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: #0B0E14;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 10px;
}

#mgmt-chat-input, #chat-input {
  flex: 1;
  background: #11151C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
  outline: none;
}

#mgmt-chat-input:focus, #chat-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.btn-icon {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #9ca3af;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-send-minimal {
  background: #3b82f6;
  border: none;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-send-minimal:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.admin-actions-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.admin-actions-vertical .btn {
  width: 100%;
  padding: 14px;
  font-weight: 900;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

#mgmt-chat-messages {
  max-height: 500px !important;
}
/* Landing & Hero Styles */
.landing-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0d0d0d 100%);
  overflow: hidden;
}

.void-orbit-1, .void-orbit-2 {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.03) 0%, transparent 70%);
  filter: blur(60px);
}

.void-orbit-1 { width: 600px; height: 600px; top: -10%; right: -5%; animation: float 10s infinite ease-in-out; }
.void-orbit-2 { width: 800px; height: 800px; bottom: -20%; left: -10%; animation: float 15s infinite ease-in-out reverse; }

.landing-header {
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Landing Page Premium Overhaul */
.landing-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-header .logo {
  font-size: 1.8rem;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(255, 184, 0, 0.3));
}

.hero-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 60px !important;
  background: rgba(12, 12, 18, 0.5) !important;
  backdrop-filter: blur(30px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 30px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 184, 0, 0.05) !important;
}

.hero-card h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.stat-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-glow);
  display: block;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.btn-lg {
  padding: 18px 40px !important;
  font-size: 1.1rem !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.3) !important;
}

.landing-hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-card {
  padding: 4rem;
  max-width: 900px;
  border-radius: 30px;
}

.glass-panel {
  background: rgba(12, 12, 18, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}
/* removed old glass-panel duplicate */
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
}

.badge-premium {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 184, 0, 0.1);
  color: var(--primary-glow);
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 20px;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 184, 0, 0.2);
}

/* Landing Page Premium Overhaul */
.landing-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-header .logo {
  font-size: 1.8rem;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(255, 184, 0, 0.3));
}

.hero-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 60px !important;
  background: rgba(12, 12, 18, 0.5) !important;
  backdrop-filter: blur(30px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 30px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 184, 0, 0.05) !important;
}

.hero-card h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.stat-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-glow);
  display: block;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.btn-lg {
  padding: 18px 40px !important;
  font-size: 1.1rem !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.3) !important;
}

.landing-hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
}

.text-amber { color: var(--primary-glow); }

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 14px;
}

.hero-stats {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2.5rem;
}

.stat-val {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.05em;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dashboard & Section Headers */
.section-header {
  margin-bottom: 2.5rem;
  animation: glass-fade-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
}

.requests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  animation: glass-fade-in 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel {
  transition: all 0.3s ease;
}

.panel.glass-panel:hover {
  border-color: rgba(255, 184, 0, 0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
  /* Landing Page Premium Overhaul */
.landing-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-header .logo {
  font-size: 1.8rem;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(255, 184, 0, 0.3));
}

.hero-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 60px !important;
  background: rgba(12, 12, 18, 0.5) !important;
  backdrop-filter: blur(30px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 30px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 184, 0, 0.05) !important;
}

.hero-card h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 35px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.stat-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-glow);
  display: block;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.btn-lg {
  padding: 18px 40px !important;
  font-size: 1.1rem !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.3) !important;
}

.landing-hero h1 { font-size: 3rem; }
  .hero-card { padding: 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}


/* ==========================================
   MODALS & PREMIUM OVERLAYS
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.premium-modal {
  width: 100%;
  max-width: 500px;
  padding: 40px;
  border: 1px solid rgba(255, 184, 0, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 184, 0, 0.05);
  text-align: center;
  background: rgba(13, 13, 13, 0.95);
  border-radius: 24px;
}

.premium-modal.wide {
  max-width: 650px;
}

.modal-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 30px;
  opacity: 0.7;
}

.modal-close-btn {
  margin-top: 30px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 0.8rem;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  opacity: 1;
  color: #ef4444;
}

/* Role Selection Grid */
.role-select-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.role-select-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.role-select-btn .role-icon-wrapper {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.role-select-btn .role-name {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.role-select-btn:hover {
  background: rgba(255, 184, 0, 0.1);
  border-color: var(--wow-orange);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.role-select-btn:hover .role-icon-wrapper {
  border-color: var(--wow-orange);
  box-shadow: 0 0 20px var(--wow-orange);
}

/* Character Selection List */
.char-selection-list {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 10px;
}

.char-option-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.char-id-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.char-img {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.char-name-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.char-name {
  font-weight: 800;
  font-size: 1rem;
}

.char-realm {
  font-size: 0.75rem;
  color: var(--text-main);
  opacity: 0.6;
}

.char-stats-section {
  display: flex;
  gap: 15px;
}

.stat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.stat-bubble span {
  font-weight: 800;
  font-size: 1rem;
}

.stat-bubble label {
  font-size: 0.6rem;
  font-weight: 700;
  opacity: 0.4;
  text-transform: uppercase;
}

.stat-bubble.io span { color: var(--wow-orange); }
.stat-bubble.ilvl span { color: #0ea5e9; }

/* ==========================================
   MANAGEMENT VIEW COMPONENTS
   ========================================== */
.mgmt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 184, 0, 0.1);
  margin-bottom: 25px;
}

.mgmt-header-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mgmt-avatar-stack {
  position: relative;
  width: 65px;
  height: 65px;
}

.poster-avatar {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: 2px solid rgba(255, 184, 0, 0.2);
}

.faction-accent {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #0d0d0d;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.mgmt-poster-meta {
  display: flex;
  flex-direction: column;
}

.poster-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--wow-orange);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.poster-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.mgmt-payout-display {
  text-align: right;
}

.payout-label {
  font-size: 0.65rem;
  font-weight: 800;
  opacity: 0.5;
  letter-spacing: 1px;
}

.payout-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--wow-orange);
  line-height: 1;
}

.mgmt-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.mgmt-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s;
}

.mgmt-stat-box:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 184, 0, 0.2);
}

.stat-lbl {
  display: block;
  font-size: 0.6rem;
  font-weight: 800;
  opacity: 0.4;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.stat-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.mgmt-note-box {
  background: rgba(255, 184, 0, 0.03);
  border-left: 3px solid var(--wow-orange);
  padding: 15px 20px;
  border-radius: 0 10px 10px 0;
}

.note-lbl {
  display: block;
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--wow-orange);
  margin-bottom: 5px;
}

.note-txt {
  font-size: 0.9rem;
  color: #fff;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* Booster Cards in Management View */
.mgmt-booster-card {
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 12px;
}

.booster-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booster-identity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.booster-avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
}

.char-thumb {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-mini {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #0d0d0d;
}

.booster-meta {
  display: flex;
  flex-direction: column;
}

.booster-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.class-mini {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.char-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.booster-role-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  opacity: 0.5;
}

.booster-stats {
  text-align: right;
}

.io-val {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.ilvl-val {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.5;
}

.mgmt-booster-key {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.key-badge {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
}

.mgmt-payment-row {
  margin-top: 15px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.1);
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mgmt-payment-row:hover {
  background: rgba(16, 185, 129, 0.1);
}

.pay-lbl {
  font-size: 0.6rem;
  font-weight: 900;
  color: #10b981;
}

.pay-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.booster-card-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-kick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-kick:hover {
  background: #ef4444;
  color: #fff;
}

/* Custom Scrollbar for Selection List */
.customize-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.customize-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.customize-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 184, 0, 0.2);
  border-radius: 10px;
}

.customize-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 184, 0, 0.4);
}

/* Status Badges */
.badge-status {
  padding: 6px 12px;
  border-radius: 80px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.status-open { background: var(--wow-orange); color: #000; }
.status-in_progress { background: var(--wow-green); color: #000; }
.status-matched { background: #3b82f6; color: #fff; }
.status-completed { background: #9d9d9d; color: #fff; }
.status-failed { background: #ef4444; color: #fff; }

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

/* VIP TIER 2 ANIMATIONS */
.radar-lock-wobble {
  animation: wobble 0.5s ease-in-out infinite alternate;
}
@keyframes wobble {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); }
}

.vip-booster {
  position: relative;
  overflow: hidden;
}
.vip-booster::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255, 215, 0, 0.4), transparent 30%);
  animation: spin 4s linear infinite;
  z-index: -1;
  pointer-events: none;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}


/* ==========================================================================
   THE "HERMOSA" ULTRA-WIDE STRETCH (MAX WIDTH)
   ========================================================================== */

#requests-container, .requests-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 10px 0 !important;
  width: 100% !important;
  max-width: 100% !important; /* Force no caps */
}

/* Reduced main padding to allow stretching */
.main-content {
  padding: 1.5rem 1rem !important;
}

/* Wrapper to hold both Card and Action Sidebar */
.offer-row-wrapper {
  display: flex;
  gap: 12px;
  width: 100%;
  align-items: stretch;
}

.boost-card {
  background: rgba(11, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1; /* Stretch to fill all available center space */
  cursor: pointer;
  min-width: 0;
}

.boost-card:hover { border-color: rgba(255, 184, 0, 0.3); background: rgba(15, 18, 28, 0.85); box-shadow: 0 0 25px rgba(255, 184, 0, 0.18), 0 8px 30px rgba(0,0,0,0.4); transform: translateY(-2px); }
.boost-card.premium { border: 1.5px solid rgba(120, 250, 76, 0.4); box-shadow: 0 0 30px rgba(120, 250, 76, 0.06), inset 0 1px 0 rgba(255,255,255,0.05); backdrop-filter: blur(15px); }

.card-summary-row {
  height: 90px;
  display: flex;
  align-items: center;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
}

.sum-id { width: 110px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sum-badge { background: #FFB01F; color: #000; font-size: 0.8rem; font-weight: 900; padding: 2px 6px; border-radius: 5px; margin-bottom: 6px; }
.sum-avatar { width: 55px; height: 55px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.08); }

/* AGRESSIVE STRETCH: flex-grow increased to 10 to push everything else */
.sum-service { flex: 10; padding: 0 40px; display: flex; flex-direction: column; min-width: 300px; }
.sum-title { font-size: 1.5rem; font-weight: 1000; color: #4A90E2; line-height: 1.1; letter-spacing: -0.01em; }
.sum-meta { font-size: 0.85rem; font-weight: 850; color: #46C37B; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 5px; }

.sum-price { width: 220px; flex-shrink: 0; text-align: center; border-left: 1px solid rgba(255,255,255,0.05); }
.sum-price-val { font-size: 1.7rem; font-weight: 1000; color: #FF7474; display: block; line-height: 1; }
.sum-price-lbl { font-size: 0.75rem; font-weight: 900; color: #4F5664; text-transform: uppercase; margin-top: 6px; display: block; }

.sum-signups { width: 160px; flex-shrink: 0; text-align: center; border-left: 1px solid rgba(255,255,255,0.05); }
.sum-signup-val { font-size: 1.6rem; font-weight: 1000; color: #FFD700; display: block; line-height: 1; }
.sum-signup-lbl { font-size: 0.7rem; font-weight: 900; color: #4F5664; text-transform: uppercase; margin-top: 6px; display: block; }

.sum-arrow { width: 80px; flex-shrink: 0; display: flex; justify-content: center; border-left: 1px solid rgba(255,255,255,0.05); }
.sum-arrow svg { width: 32px; height: 32px; transition: transform 0.3s; color: #78FA4C; opacity: 0.6; }

/* The Action Sidebar (OUTSIDE) */
.sum-action-sidebar {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(12, 12, 18, 0.4);
  border-radius: 18px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.04); /* Space between Manage and Close */
}

.btn-row-apply, .btn-row-manage, .btn-row-close {
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 1000;
  padding: 16px 0;
  border-radius: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.btn-row-apply { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); border-radius: 14px; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2); }
.btn-row-apply:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }

.btn-row-manage { background: #46C37B; font-size: 0.95rem; padding: 12px 0; }
.btn-row-manage:hover { background: #34a853; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(70, 195, 123, 0.3); }

.btn-row-close { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); font-size: 0.85rem; padding: 10px 0; }
.btn-row-close:hover { background: rgba(239, 68, 68, 0.2); }

.btn-row-apply:disabled { opacity: 0.2; pointer-events: none; }

/* Expanded Content */
.card-details-expanded {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.boost-card.expanded .card-details-expanded {
  max-height: 500px;
  padding: 35px 40px;
}

.boost-card.expanded .sum-arrow svg { transform: rotate(180deg); opacity: 1; }

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.exp-col { display: flex; flex-direction: column; }
.exp-label { font-size: 0.75rem; font-weight: 900; color: #4F5664; text-transform: uppercase; margin-bottom: 8px; }
.exp-value { font-size: 1.1rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }

.exp-realm { color: #F87171; font-weight: 1000; font-size: 1.25rem; }
.exp-cut { color: #46C37B; font-weight: 1000; font-size: 1.4rem; }

/* Management View Booster Cards */
.mgmt-booster-card {
  padding: 18px;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.mgmt-booster-card.hired { border-left: 4px solid #10b981; }
.mgmt-booster-card.pending { border-left: 4px solid #f59e0b; }
.mgmt-booster-card.applicant { border-left: 4px solid #3b82f6; }

.booster-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.booster-identity {
  display: flex;
  gap: 15px;
  align-items: center;
}

.booster-avatar-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
}

.char-thumb {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
}

.discord-mini {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #1a1a2e;
}

.booster-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booster-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.class-mini { width: 14px; height: 14px; }
.char-name { font-weight: 800; font-size: 0.95rem; color: #fff; }

.booster-role-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.6;
}

.booster-stats {
  text-align: right;
}

.io-val { font-size: 1.1rem; font-weight: 900; }
.ilvl-val { font-size: 0.65rem; font-weight: 700; opacity: 0.5; }

.mgmt-payment-row {
  background: rgba(16, 185, 129, 0.05);
  border: 1px dashed rgba(16, 185, 129, 0.2);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.mgmt-payment-row:hover { background: rgba(16, 185, 129, 0.1); }
.pay-lbl { font-weight: 700; color: #10b981; }
.pay-val { font-weight: 800; color: #fff; }

.mgmt-action-group {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn-xs { padding: 4px 12px; font-size: 0.65rem; border-radius: 6px; }

/* Dashboard Grids */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

#mgmt-applicants-list, #mgmt-hired-list, #mgmt-pending-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0b0e14; }
::-webkit-scrollbar-thumb { background: #1c2331; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2f3b52; }

/* REFINED CHARACTER SETTINGS (DENSITY FIX) */
.char-set-settings-row { display: flex; gap: 12px; width: 100%; margin-top: 8px; }
.char-set-input-v { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.char-set-input-v label { font-size: 0.6rem; color: #64748b; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.char-set-input-v input { background: #090911; border: 1px solid var(--border-color); border-radius: 6px; color: #fff; padding: 6px !important; font-size: 0.8rem; text-align: center; width: 100% !important; transition: all 0.2s; }
.char-set-input-v input:focus { border-color: #3b82f6; background: rgba(59, 130, 246, 0.05); }
.char-set-column.settings { flex: 3 !important; min-width: 280px !important; }
.char-set-include-check { font-weight: 900 !important; font-size: 0.8rem !important; padding-bottom: 2px !important; }


.faction-icon-tiny {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  object-fit: cover;
}

.exp-realm {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.mgmt-booster-card.applicant .booster-char-list-mgmt {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 5px;
}

.mgmt-char-row:last-child {
  border-bottom: none !important;
}

.booster-card-top .badge {
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  display: inline-block;
}

/* Animations for new cards */
.mgmt-booster-card {
  animation: fadeIn 0.3s ease-out;
}

/* ==========================================
   UNIT FRAMES (WoW STYLE)
   ========================================== */
.unit-frames-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 15px;
  padding: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.unit-frame {
  background: #0a0a0d;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.unit-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
  border-color: var(--class-color);
}

.unit-frame.pending {
  opacity: 0.7;
}

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

.uf-role-icon {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.8));
}

.uf-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--class-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uf-bar-container {
  height: 20px;
  background: #1a1a1b;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,0.05);
}

.uf-bar {
  height: 100%;
  width: 100%;
  background: var(--class-color);
  opacity: 0.8;
  position: absolute;
  top: 0;
  left: 0;
}

.unit-frame.pending .uf-bar {
  width: 30%;
  opacity: 0.3;
  animation: bar-loading 2s infinite ease-in-out;
}

@keyframes bar-loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

.uf-status-text {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 900;
  color: #fff;
  line-height: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,1);
  z-index: 1;
}

.uf-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.uf-io {
  color: #fff;
}

.uf-ilvl {
  color: #9ca3af;
}

/* ==========================================
   HUD HUD HUD (GOLDEN GLOW)
   ========================================== */
#hud-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s;
}

#hud-overlay.active {
  opacity: 1;
}

.hud-content {
  text-align: center;
  transform: scale(0.5);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#hud-overlay.active .hud-content {
  transform: scale(1);
}

.hud-glow-circle {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.4) 0%, rgba(255, 184, 0, 0) 70%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: hud-pulsate 2s infinite;
}

@keyframes hud-pulsate {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

.hud-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 20px var(--primary-glow), 0 0 40px var(--primary-glow);
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.hud-subtitle {
  font-size: 1.2rem;
  color: var(--primary-glow);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}


/* Custom Faction Dropdown */
.custom-faction-dropdown {
  position: relative;
  width: 100%;
}
.custom-faction-display {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.custom-faction-display::after {
  content: 'â–¼';
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.custom-faction-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface-high);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-top: 5px;
  z-index: 100;
  display: none;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}
.custom-faction-list.open {
  display: block;
  animation: glass-fade-in 0.2s ease-out;
}
.custom-faction-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--text-main);
}
.custom-faction-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--primary);
}

/* ==========================================================
   ðŸ”” NOTIFICATION CENTER â€” Premium Glassmorphism Panel
   ========================================================== */

/* Badge on Bell Button */
.notif-badge {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  z-index: 10;
  pointer-events: none;
}

.notif-badge-pulse {
  animation: notifPulse 0.6s ease-out;
}

@keyframes notifPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Slide-out Panel */
.notif-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: rgba(10, 10, 14, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-left: 1px solid rgba(255, 220, 161, 0.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
}

.notif-panel.open {
  right: 0;
}

.notif-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.notif-panel-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.notif-clear-btn,
.notif-close-btn {
  position: relative;
  z-index: 10001;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.notif-clear-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

.notif-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Notification List */
.notif-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}

.notif-list::-webkit-scrollbar-thumb {
  background: rgba(255, 220, 161, 0.15);
  border-radius: 10px;
}

.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  text-align: center;
}

/* Individual Notification Item */
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
  animation: notifSlideIn 0.3s ease-out;
}

@keyframes notifSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 220, 161, 0.08);
}

.notif-item.unread {
  background: rgba(255, 220, 161, 0.04);
  border-left: 3px solid var(--accent, var(--primary-glow));
}

.notif-item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.notif-item-body {
  flex: 1;
  min-width: 0;
}

.notif-item-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 3px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.notif-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-item-time {
  font-size: 0.7rem;
  color: rgba(156, 163, 175, 0.5);
  margin-top: 5px;
  font-weight: 500;
}

/* Panel backdrop overlay (clicks through to close) */
.notif-panel.open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1; /* Keep it behind panel content */
  pointer-events: auto;
}

/* ==========================================================================
   V2 PREMIUM INVITATION MODAL (Glassmorphism & High-Quality UI)
   ========================================================================== */

.invite-modal-v2 {
  background: rgba(15, 15, 20, 0.9);
  backdrop-filter: blur(25px) saturate(160%);
  -webkit-backdrop-filter: blur(25px) saturate(160%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 520px;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: modalInvitePulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalInvitePulse {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.invite-header-v2 {
  text-align: center;
  margin-bottom: 25px;
}

.invite-title-v2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.invite-subtitle-v2 {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.4;
}

.invite-run-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.invite-run-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.invite-run-info p {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.invite-price-large {
  font-size: 1.8rem;
  font-weight: 900;
  color: #f59e0b;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.invite-actions-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-accept-v2 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-accept-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  filter: brightness(1.1);
}

.btn-reject-v2 {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-reject-v2:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fff;
  border-color: #ef4444;
}

/* ==========================================
   AUDIT MINI-CHAT WIDGET (Facebook-Style)
   ========================================== */
.audit-mini-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 184, 0, 0.2);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 184, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  animation: slide-up-chat 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

@keyframes slide-up-chat {
  from { transform: translateY(100%) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.mini-chat-header {
  padding: 10px 15px;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.1) 0%, rgba(0,0,0,0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-chat-header h5 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.audit-mini-chat-widget.minimized {
  bottom: 0;
}

.audit-mini-chat-widget.minimized .mini-chat-body,
.audit-mini-chat-widget.minimized .mini-chat-footer {
  display: none;
}


.mini-chat-close, .mini-chat-min {
  cursor: url('../img/gauntlet-cursor.png') 2 2, pointer !important;
  opacity: 0.6;
  transition: all 0.2s;
  font-size: 0.9rem;
  padding: 0 5px;
}

.mini-chat-close:hover {
  opacity: 1;
  color: var(--wow-red);
}

.mini-chat-min:hover {
  opacity: 1;
  color: var(--primary);
}


.mini-chat-body {
  height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0,0,0,0.1);
  pointer-events: auto;
}


.mini-chat-body::-webkit-scrollbar { 
  width: 12px; 
}
.mini-chat-body::-webkit-scrollbar-track { 
  background: rgba(255, 255, 255, 0.05); 
  border-radius: 10px;
}
.mini-chat-body::-webkit-scrollbar-thumb { 
  background: rgba(255, 184, 0, 0.4); 
  border-radius: 10px;
  border: 2px solid rgba(10, 10, 15, 0.95); /* Padding effect */
  box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
.mini-chat-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 184, 0, 0.8);
  border-width: 1px; /* Grows slightly on hover */
}



.mini-msg-bubble {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.mini-msg-mine {
  align-self: flex-end;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #fff;
}

.mini-msg-other {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.mini-chat-footer {
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 8px;
}

.mini-chat-input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 6px 12px;
  color: #fff;
  font-size: 0.8rem;
  outline: none;
}

.mini-chat-input:focus {
  border-color: var(--primary);
}

.mini-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.4);
}

/* ==========================================
   VISUAL EXCELLENCE 2.0: ANIMATIONS & GLOWS
   ========================================== */

/* Message Entrance Animation */
@keyframes msg-entrance {
  from { opacity: 0; transform: translateX(10px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.msg-entrance {
  animation: msg-entrance 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Run Status Glows */
.run-status-glow {
  position: relative;
  transition: all 0.4s ease;
}

.run-success {
  border-left: 4px solid var(--wow-green) !important;
  box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.05);
}
.run-success:hover {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15), inset 0 0 30px rgba(16, 185, 129, 0.1);
}

.run-failed {
  border-left: 4px solid var(--demon-hunter) !important;
  box-shadow: inset 0 0 20px rgba(163, 48, 201, 0.05);
}
.run-failed:hover {
  box-shadow: 0 0 20px rgba(163, 48, 201, 0.15), inset 0 0 30px rgba(163, 48, 201, 0.1);
}

/* Chat Role Badges */
.role-badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-right: 5px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.badge-poster {
  background: rgba(255, 220, 161, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 220, 161, 0.3);
}

.badge-booster {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-staff {
  background: rgba(239, 68, 68, 0.15);
  color: var(--wow-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

/* DUNGEON ICON IN HISTORY */
.history-dungeon-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0,0,0,0.3);
  object-fit: cover;
  margin-right: 15px;
}

/* ==========================================
   ADVISOR AI 2026: NEURAL STYLING
   ========================================== */
.message-advisor {
    background: rgba(6, 182, 212, 0.08) !important;
    border: 1px solid rgba(6, 182, 212, 0.4) !important;
    border-radius: 12px;
    padding: 15px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.15);
    animation: advisorPulse 4s infinite ease-in-out;
    margin: 15px 0;
}

.message-advisor::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.15), transparent);
    animation: scanAI 3s infinite linear;
    pointer-events: none;
}

@keyframes scanAI {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes advisorPulse {
    0%, 100% { border-color: rgba(6, 182, 212, 0.4); box-shadow: 0 0 25px rgba(6, 182, 212, 0.15); }
    50% { border-color: rgba(6, 182, 212, 0.8); box-shadow: 0 0 40px rgba(6, 182, 212, 0.3); }
}

.message-advisor .msg-bubble {
    background: none !important;
    color: #f1f5f9 !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    border: none !important;
    box-shadow: none !important;
    white-space: pre-wrap;
}

.message-advisor strong {
    color: #22d3ee;
    font-weight: 800;
}




/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  pointer-events: auto;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 184, 0, 0.2);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 184, 0, 0.4);
}

/* Section header glow */
.section-header h1 {
  text-shadow: 0 0 30px rgba(255, 184, 0, 0.25), 0 0 80px rgba(255, 184, 0, 0.18);
}

.badge-premium {
  background: var(--premium-gradient) !important;
  color: #1a0f00 !important;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.3);
  animation: glow-pulse 3s infinite;
}

/* Sidebar profile card glow */
.sidebar-profile {
  background: rgba(255, 184, 0, 0.03) !important;
  border: 1px solid rgba(255, 184, 0, 0.18) !important;
  border-radius: 16px !important;
}

/* FORCE SIDEBAR ROUNDED ON ALL DEVICES */
.sidebar {
  border-radius: 0 24px 24px 0 !important;
  border-right: 1px solid rgba(255, 184, 0, 0.15) !important;
  border-top: none !important;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5), inset -1px 0 0 rgba(255, 184, 0, 0.05) !important;
}

/* CARD GLOW BORDER - SUPER VISIBLE */
.boost-card, .offer-row-wrapper .boost-card {
  border: 1px solid rgba(255, 184, 0, 0.2) !important;
  background: rgba(15, 15, 22, 0.8) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.boost-card:hover {
  border-color: rgba(255, 184, 0, 0.4) !important;
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.12), 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}

/* ACTION BUTTON GLOW */
.btn-row-apply {
  background: linear-gradient(135deg, #ffb800 0%, #ff8c00 100%) !important;
  color: #000 !important;
  font-weight: 900 !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3) !important;
  text-shadow: none !important;
}

.btn-row-apply:hover {
  box-shadow: 0 6px 30px rgba(255, 184, 0, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* NAV ITEM ACTIVE - GOLDEN GLOW */
.nav-btn.active {
  background: rgba(255, 184, 0, 0.12) !important;
  border-left: 4px solid #ffb800 !important;
  box-shadow: inset 4px 0 0 #ffb800, 0 0 20px rgba(255, 184, 0, 0.1) !important;
  border-radius: 0 14px 14px 0 !important;
}

/* SUM-TITLE COLOR - GOLDEN PREMIUM */
.sum-title {
  color: #ffb800 !important;
  text-shadow: 0 0 15px rgba(255, 184, 0, 0.2);
}

/* SUM-META ADV - EMERALD GREEN GLOW */
.sum-meta {
  color: #46C37B !important;
}

/* PRICE - WARM ORANGE GLOW */
.sum-price-val {
  color: #ffb800 !important;
  text-shadow: 0 0 10px rgba(255, 184, 0, 0.3);
}

/* SECTION HEADER GLOW */
.section-header h1 {
  text-shadow: 0 0 40px rgba(255, 184, 0, 0.3), 0 0 80px rgba(255, 184, 0, 0.1) !important;
}

/* BADGE LIVE - PULSATING GOLD */
.badge-premium {
  background: linear-gradient(135deg, #ffb800, #ff8c00) !important;
  color: #000 !important;
  font-weight: 900 !important;
  padding: 3px 12px !important;
  border-radius: 20px !important;
  font-size: 0.7rem !important;
  letter-spacing: 2px !important;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.4) !important;
  animation: glow-pulse 2s infinite !important;
}

/* SCROLLBAR GOLD */
::-webkit-scrollbar { width: 12px; pointer-events: auto; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
::-webkit-scrollbar-thumb { background: rgba(255, 184, 0, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 184, 0, 0.5); }

/* SIDEBAR PROFILE - GOLD ACCENT */  
.sidebar-profile {
  border: 1px solid rgba(255, 184, 0, 0.1) !important;
  background: rgba(255, 184, 0, 0.03) !important;
  border-radius: 16px !important;
}

/* SKELETON LOADERS */
.skeleton-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  height: 120px;
}

.skeleton-box::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.1) 60%,
    rgba(255, 255, 255, 0)
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* ==========================================
   MOBILE RESPONSIVE UI (PWA)
   ========================================== */
.mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.mobile-header .logo {
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #bb86fc, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .app-layout {
    grid-template-columns: 1fr;
    padding-top: 60px; /* space for mobile header */
  }

  .mobile-header {
    display: flex;
  }

  .sidebar {
    position: fixed;
    top: 60px;
    left: -280px;
    width: 260px;
    height: calc(100vh - 60px);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    background: rgba(18, 18, 18, 0.95);
  }

  .sidebar.mobile-open {
    left: 0;
    box-shadow: 10px 0 20px rgba(0,0,0,0.5);
  }

  .sidebar-header {
    display: none; /* Hide Desktop logo */
  }

  /* Modals */
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }
  
  .form-row.two-col, 
  .form-row.three-col, 
  .form-row.four-col {
    grid-template-columns: 1fr;
  }

  /* Cards */
  .request-card {
    flex-direction: column;
    padding: 15px;
  }

  .req-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .payout-chip {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .actions {
    flex-direction: column;
    width: 100%;
  }

  .actions button {
    width: 100%;
    margin-top: 5px;
  }

  .class-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* ==========================================
     LANDING PAGE INDEX.HTML MOBILE FIXES
     ========================================== */
  .landing-header {
    flex-direction: column !important;
    padding: 10px !important;
    gap: 10px;
    text-align: center;
    height: auto !important;
  }
  
  .landing-header .logo {
    font-size: 1.1rem !important;
    white-space: normal;
  }

  .nav-links {
    display: none; /* Ocultar links en mobile para no saturar */
  }

  .hero-card {
    padding: 25px 15px !important;
    margin: 10px 10px !important;
  }
  
  .hero-card h1 {
    font-size: 1.8rem !important;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    margin: 15px 0 !important;
  }

  .btn-lg {
    font-size: 0.9rem !important;
    padding: 12px 20px !important;
    width: 100%;
  }

  .landing-hero {
    padding: 0 !important;
    margin-top: 10px !important;
  }

  /* GUIAS Y ELEMENTOS INFERIORES EN MOBILE */
  .guide-container {
    padding: 30px 15px !important;
  }

  .guide-container .section-header h2 {
    font-size: 1.8rem !important;
  }

  .guide-grid {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .guide-card {
    padding: 20px !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 10px;
  }

  .feature-card {
    padding: 20px !important;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
    margin-top: 25px !important;
    background: rgba(0,0,0,0.2) !important;
    border-radius: 10px;
    padding: 15px;
  }

  /* Dashboard Empty State Mobile */
  .empty-state-premium {
    padding: 40px 20px !important;
    margin: 20px 10px !important;
  }
  .empty-state-premium h2 {
    font-size: 1.5rem !important;
  }
  .empty-state-premium p {
    font-size: 0.95rem !important;
  }

  /* Guide Command Grid Mobile */
  .command-list {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================
   RADAR EMPTY STATE ANIMATION
   ========================================== */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); text-shadow: 0 0 20px rgba(255,184,0,0.4); }
  50% { opacity: 0.7; transform: scale(1.1); text-shadow: 0 0 40px rgba(255,184,0,0.8); }
}
