/* ==========================================================================
   SCUM: TALLER MECÁNICO & CONCESIONARIO // ESTILOS TÁCTICOS MILITARES
   ========================================================================== */

:root {
  --bg-darkest: #05070a;
  --bg-primary: #0a0d13;
  --bg-card: #0f141d;
  --bg-card-hover: #161e2b;
  --border-color: #1e293b;
  --border-glow: rgba(255, 119, 0, 0.35);

  --accent-orange: #ff7700;
  --accent-orange-glow: rgba(255, 119, 0, 0.45);
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.35);
  --accent-gold: #fbbf24;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --text-bright: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-bright);
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 119, 0, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(20, 26, 38, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 26, 38, 0.4) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  overflow-x: hidden;
}

/* Clases de utilidad */
.hidden { display: none !important; }
.text-green { color: var(--accent-green) !important; }
.text-gold { color: var(--accent-gold) !important; font-weight: bold; }
.text-orange { color: var(--accent-orange) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-red { color: var(--accent-red) !important; }

/* ==========================================================================
   1. PANTALLA DE LOGIN
   ========================================================================== */
.login-wrapper {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.login-wrapper:not(.active) {
  opacity: 0;
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--accent-orange);
  border-left: 5px solid var(--accent-orange);
  border-radius: 8px;
  padding: 26px 24px;
  box-shadow: 0 0 35px rgba(255, 119, 0, 0.25), inset 0 0 25px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.login-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, transparent 50%, var(--accent-orange) 50%);
  opacity: 0.6;
}

.login-header {
  text-align: center;
  margin-bottom: 20px;
}

.server-tag-mini {
  font-size: 10px;
  color: var(--accent-orange);
  letter-spacing: 1.5px;
  font-weight: bold;
  margin-bottom: 6px;
}

.mechanic-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 119, 0, 0.12);
  border: 1px solid rgba(255, 119, 0, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  color: #fbbf24;
  margin-bottom: 10px;
}

.login-title {
  font-family: 'Teko', sans-serif;
  font-size: 34px;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 10px var(--accent-orange-glow);
}

.login-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 6px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.input-group label {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}

.input-icon {
  font-size: 13px;
}

.login-form input,
.login-form select,
.scum-input {
  background: #06090f;
  border: 1px solid var(--border-color);
  color: var(--text-bright);
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s ease;
}

.login-form input:focus,
.login-form select:focus,
.scum-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 10px rgba(255, 119, 0, 0.3);
  background: #0a0f18;
}

.login-error-msg {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-size: 11px;
  padding: 8px 10px;
  border-radius: 4px;
  text-align: center;
}

.btn-primary-scum {
  background: linear-gradient(135deg, #ff7700, #d95a00);
  border: none;
  color: #000;
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.4);
  transition: all 0.2s ease;
}

.btn-primary-scum:hover {
  background: #ff881a;
  box-shadow: 0 0 25px rgba(255, 119, 0, 0.7);
  transform: translateY(-1px);
}

.btn-secondary-scum {
  background: #1e293b;
  border: 1px solid #334155;
  color: var(--text-bright);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-secondary-scum:hover {
  background: #334155;
  border-color: var(--accent-cyan);
}

.login-security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(255, 119, 0, 0.25);
  padding: 8px 12px;
  border-radius: 4px;
  text-align: center;
  margin-top: 6px;
  font-size: 10px;
  color: #94a3b8;
  letter-spacing: 0.5px;
  font-family: 'Share Tech Mono', monospace;
}

.security-lock-icon {
  font-size: 11px;
}

/* ==========================================================================
   2. APLICACIÓN PRINCIPAL (CONTAINER & CABECERA)
   ========================================================================== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 12px 16px;
}

.top-status-bar {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(10, 14, 23, 0.95));
  border: 1px solid var(--accent-orange);
  border-left: 4px solid var(--accent-orange);
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.2);
  border-radius: 6px;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.server-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
}

.live-dot.pulse {
  animation: pulseDot 1.4s infinite alternate;
}

@keyframes pulseDot {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent-green); }
}

.brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffaa00;
  letter-spacing: 1.5px;
}

.badge-role {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.top-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 9, 15, 0.8);
  border: 1px solid #1e293b;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
}

.pill-label {
  color: var(--text-dark);
}

.pill-val {
  font-weight: bold;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 119, 0, 0.1);
  border: 1px solid rgba(255, 119, 0, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
}

.mechanic-name {
  font-size: 11px;
  color: #ffaa00;
  font-weight: bold;
}

.btn-logout {
  background: #ef4444;
  border: none;
  color: #fff;
  font-size: 9px;
  font-family: 'Share Tech Mono', monospace;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-logout:hover {
  opacity: 0.85;
}

/* ==========================================================================
   3. NAVEGACIÓN POR PESTAÑAS
   ========================================================================== */
.workshop-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #1e293b;
  padding-bottom: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.nav-tab {
  background: var(--bg-card);
  border: 1px solid #1e293b;
  color: var(--text-muted);
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  background: var(--bg-card-hover);
  color: #fff;
  border-color: #334155;
}

.nav-tab.active {
  background: rgba(255, 119, 0, 0.15);
  border-color: var(--accent-orange);
  color: #ffaa00;
  box-shadow: 0 0 10px rgba(255, 119, 0, 0.2);
}

.badge-count {
  background: var(--accent-orange);
  color: #000;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 10px;
  font-weight: 800;
}

/* ==========================================================================
   4. PESTAÑAS Y CONTENEDORES
   ========================================================================== */
.main-content {
  flex: 1;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.25s ease;
}

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

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

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #1e293b;
}

.pane-title {
  font-family: 'Teko', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
}

.pane-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 720px;
  margin-top: 4px;
}

.quick-status-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
}

.chip-dot {
  width: 6px; height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
}

/* ==========================================================================
   5. PESTAÑA: VENDER VEHÍCULO (CATÁLOGO & CONFIGURADOR)
   ========================================================================== */
.seller-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .seller-layout {
    grid-template-columns: 1fr;
  }
}

.section-label {
  font-size: 11px;
  color: var(--accent-orange);
  letter-spacing: 1px;
  font-weight: bold;
  margin-bottom: 10px;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.vehicle-card {
  background: var(--bg-card);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vehicle-card:hover {
  background: var(--bg-card-hover);
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.15);
}

.vehicle-card.selected {
  border-color: var(--accent-orange);
  background: rgba(255, 119, 0, 0.08);
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.25);
}

.vehicle-card-badge {
  font-size: 9px;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.vehicle-card-icon {
  font-size: 32px;
  margin: 6px 0;
  text-align: center;
}

.vehicle-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.vehicle-card-stats {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px dashed #1e293b;
  padding-top: 6px;
  margin-top: 6px;
}

.vehicle-card-stock {
  margin-top: 6px;
  font-size: 10px;
  font-weight: bold;
  color: #10b981;
  text-align: right;
}

/* Panel de Configuración de Venta */
.config-card {
  background: var(--bg-card);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selected-preview-card {
  background: #06090f;
  border: 1px solid var(--accent-orange);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
}

.preview-badge {
  font-size: 9px;
  color: var(--accent-orange);
  letter-spacing: 1px;
}

.preview-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  color: #fff;
  margin: 2px 0 6px 0;
}

.preview-icon-large {
  font-size: 42px;
}

.specs-mini-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-row label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.price-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.price-field {
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  color: #fbbf24;
  padding-right: 50px;
}

.price-currency {
  position: absolute;
  right: 12px;
  font-size: 12px;
  color: #fbbf24;
  font-weight: bold;
  pointer-events: none;
}

.notes-textarea {
  resize: vertical;
  min-height: 50px;
}

.btn-publish-discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  border: 1px solid #7983f5;
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 14px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
  transition: all 0.2s ease;
  margin-top: 6px;
}

.btn-publish-discord:hover {
  background: #6773f3;
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.6);
  transform: translateY(-1px);
}

/* ==========================================================================
   6. PESTAÑA: EN MI PROPIEDAD (GARAJE FÍSICO)
   ========================================================================== */
.garage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.owned-vehicle-card {
  background: var(--bg-card);
  border: 1px solid #1e293b;
  border-left: 4px solid var(--accent-cyan);
  border-radius: 6px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.owned-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.owned-vehicle-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.owned-plate {
  background: #0f172a;
  border: 1px solid #334155;
  color: #fbbf24;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
}

.owned-meta-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  background: #06090f;
  padding: 8px;
  border-radius: 4px;
  border: 1px dashed #1e293b;
}

.btn-sell-owned {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.4));
  border: 1px solid var(--accent-red);
  color: #fca5a5;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: bold;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-sell-owned:hover {
  background: var(--accent-red);
  color: #000;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

/* ==========================================================================
   7. PESTAÑA: STOCK DISCORD & VISTA PREVIA EMBED
   ========================================================================== */
.discord-preview-container {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.discord-chat-box {
  width: 100%;
  max-width: 650px;
  background: #313338;
  border-radius: 8px;
  padding: 18px;
  font-family: 'gg sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #dbdee1;
}

.discord-bot-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.bot-avatar {
  width: 38px; height: 38px;
  background: #5865f2;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.bot-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.bot-tag {
  background: #5865f2;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 1px 4px;
  border-radius: 3px;
}

.bot-timestamp {
  font-size: 11px;
  color: #949ba4;
}

.discord-embed-card {
  display: flex;
  background: #2b2d31;
  border-radius: 4px;
  overflow: hidden;
  max-width: 540px;
  border: 1px solid #1e1f22;
}

.embed-border-stripe {
  width: 4px;
  background: #ff7700;
}

.embed-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.embed-title {
  font-size: 15px;
  font-weight: 700;
  color: #f2f3f5;
  margin: 0;
}

.embed-desc {
  font-size: 12px;
  color: #b5bac1;
  line-height: 1.3;
}

.embed-stock-box {
  background: #1e1f22;
  border-radius: 4px;
  padding: 10px;
  border-left: 3px solid #10b981;
}

.stock-box-title {
  font-size: 12px;
  font-weight: bold;
  color: #10b981;
  margin-bottom: 4px;
}

.stock-summary-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #f2f3f5;
  white-space: pre-wrap;
  line-height: 1.5;
}

.embed-vehicles-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.embed-vehicle-item {
  background: #1e1f22;
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.embed-vehicle-item strong {
  color: #ffaa00;
}

.embed-vehicle-item .embed-price {
  color: #fbbf24;
  font-weight: bold;
}

.embed-footer {
  font-size: 10px;
  color: #949ba4;
  border-top: 1px solid #35373c;
  padding-top: 6px;
  margin-top: 4px;
}

.embed-footer code {
  background: #1e1f22;
  padding: 1px 4px;
  border-radius: 3px;
  color: #f2f3f5;
}

/* ==========================================================================
   8. PESTAÑA: AJUSTES WEBHOOK & LOGS
   ========================================================================== */
.webhook-settings-card {
  background: var(--bg-card);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 18px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field-hint {
  font-size: 10px;
  color: var(--text-dark);
}

.webhook-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.webhook-status {
  padding: 10px;
  border-radius: 4px;
  font-size: 11px;
}

.webhook-status.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}

.webhook-status.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
}

/* Consola de Logs RCON */
.terminal-card {
  background: #040508;
  border: 1px solid #1e293b;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

.terminal-bar {
  background: #0f141d;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #1e293b;
}

.terminal-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-left: 6px;
}

.terminal-logs {
  padding: 14px;
  height: 350px;
  overflow-y: auto;
  font-size: 11px;
  line-height: 1.6;
  color: #38bdf8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-entry {
  display: flex;
  gap: 8px;
}

.log-time { color: var(--text-dark); }
.log-cmd { color: #f59e0b; font-weight: bold; }
.log-info { color: #94a3b8; }

/* ==========================================================================
   9. MODAL DE DOBLE CONFIRMACIÓN (DESGUACE FÍSICO)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 200;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #0f131a;
  border: 2px solid var(--accent-red);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.4), inset 0 0 25px rgba(0, 0, 0, 0.9);
  border-radius: 8px;
  overflow: hidden;
}

.hazard-stripe-top {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    #ef4444,
    #ef4444 14px,
    #000000 14px,
    #000000 28px
  );
}

.modal-header {
  text-align: center;
  padding: 16px 20px 8px 20px;
}

.modal-alert-icon {
  font-size: 36px;
}

.modal-title {
  font-family: 'Teko', sans-serif;
  font-size: 28px;
  color: var(--accent-red);
  letter-spacing: 1.5px;
  line-height: 1;
}

.modal-sub {
  font-size: 10px;
  color: var(--accent-gold);
  letter-spacing: 1px;
  font-weight: bold;
}

.modal-body {
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-warning-text {
  font-size: 12px;
  color: var(--text-bright);
  line-height: 1.4;
}

.vehicle-confirm-box {
  background: #06090f;
  border: 1px solid #334155;
  border-left: 4px solid var(--accent-cyan);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12px;
  color: #fff;
}

.rcon-order-preview {
  background: #030508;
  border: 1px dashed var(--accent-red);
  padding: 8px 12px;
  border-radius: 4px;
}

.rcon-label {
  display: block;
  font-size: 9px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.rcon-order-preview code {
  color: #f87171;
  font-weight: bold;
  font-size: 12px;
}

.modal-consequences-list {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #1e293b;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-footer {
  padding: 14px 24px 18px 24px;
  display: flex;
  gap: 10px;
}

.btn-cancel-modal {
  flex: 1;
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-confirm-destroy {
  flex: 1.4;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: none;
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
  transition: all 0.2s;
}

.btn-confirm-destroy:hover {
  background: #dc2626;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.8);
}

/* ==========================================================================
   10. TOAST NOTIFICATION
   ========================================================================== */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  border: 1px solid var(--accent-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(16, 185, 129, 0.3);
  padding: 12px 18px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  z-index: 300;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   11. NUEVOS ESTILOS PROFESIONALES: SOUND FX, DRAIKA FLEET, PRENSA HIDRÁULICA
   ========================================================================== */
.btn-sound-toggle {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
  transition: all 0.2s ease;
}

.btn-sound-toggle:hover {
  background: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.btn-sound-toggle.muted {
  border-color: #64748b;
  color: #64748b;
  box-shadow: none;
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tarjetas exclusivas de la Flota Draika */
.owned-vehicle-card.draika-card {
  border-left: 4px solid var(--accent-gold);
  background: linear-gradient(135deg, rgba(20, 26, 38, 0.95), rgba(15, 20, 30, 0.95));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(251, 191, 36, 0.05);
  position: relative;
  overflow: hidden;
}

.owned-vehicle-card.draika-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.25), transparent 70%);
  pointer-events: none;
}

.draika-owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.draika-plate {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #020617;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  letter-spacing: 1px;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

/* Efecto visual de prensa hidráulica en confirmModal */
.modal-crush-fx {
  margin-top: 14px;
  padding: 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.crush-scanner-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ef4444, #fbbf24, transparent);
  animation: scanCrush 1s infinite linear;
}

@keyframes scanCrush {
  0% { left: -100%; }
  100% { left: 100%; }
}

.crush-sparks {
  font-size: 11px;
  font-weight: bold;
  color: #ef4444;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  animation: pulseSparks 0.3s infinite alternate;
}

@keyframes pulseSparks {
  0% { opacity: 0.7; }
  100% { opacity: 1; transform: scale(1.01); }
}

.crush-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.crush-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #fbbf24);
  animation: fillCrushProgress 1.4s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes fillCrushProgress {
  0% { width: 0%; }
  50% { width: 75%; }
  100% { width: 100%; }
}

/* ==========================================================================
   12. MÓDULO WHALLEYBOT: COMPRA & CÓDIGOS DE ENTREGA DE VEHÍCULOS
   ========================================================================== */
.whalley-manager-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .whalley-manager-layout {
    grid-template-columns: 1fr;
  }
}

.whalley-action-card, .whalley-codes-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.whalley-action-card {
  border-left: 4px solid var(--accent-green);
}

.whalley-codes-card {
  border-left: 4px solid var(--accent-cyan);
}

.whalley-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.whalley-logo {
  font-size: 26px;
}

.whalley-title {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.5px;
}

.whalley-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.whalley-preview-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  padding: 10px 14px;
  margin: 12px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: #cbd5e1;
}

.whalley-preview-box .preview-step strong {
  color: var(--accent-green);
}

.btn-whalley-buy {
  background: linear-gradient(135deg, #10b981, #047857);
  border: none;
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transition: all 0.2s;
  width: 100%;
}

.btn-whalley-buy:hover {
  background: #059669;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
  transform: translateY(-1px);
}

.whalley-codes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
}

.delivery-code-item {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  position: relative;
}

.delivery-code-item.redeemed {
  opacity: 0.7;
  border-color: #334155;
}

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

.delivery-code-badge {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.delivery-code-meta {
  color: #94a3b8;
  line-height: 1.4;
}

.delivery-code-meta strong {
  color: #f8fafc;
}

.delivery-code-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.btn-copy-code {
  background: #1e293b;
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-code:hover {
  background: rgba(56, 189, 248, 0.2);
}

/* ==========================================================================
   13. ESTILOS VISUALES PRO: IMÁGENES SCUM, ICONOS DE ITEMS Y HERO CARDS
   ========================================================================== */
.badge-icon-img, .input-icon-img, .brand-item-icon, .pill-icon-img, .nav-tab-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(255, 119, 0, 0.4));
}

.brand-item-icon {
  width: 24px;
  height: 24px;
  margin-right: 6px;
}

.nav-tab-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

/* Tarjetas de vehículos con foto HD */
.vehicle-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0b0f17;
  border: 1px solid #1e293b;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.vehicle-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 119, 0, 0.25);
}

.vehicle-card.selected {
  border-color: var(--accent-orange);
  box-shadow: 0 0 25px rgba(255, 119, 0, 0.45);
}

.card-hero-thumb {
  width: 100%;
  height: 115px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .card-thumb-img {
  transform: scale(1.08);
}

.card-thumb-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.card-content-wrap {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

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

.card-item-chip {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

/* Hero Frame en panel de cotización / venta */
.preview-hero-frame {
  width: 100%;
  height: 180px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
  background: #000;
}

.preview-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 13, 19, 0.95) 100%);
}

.preview-hero-frame .preview-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  margin-bottom: 0;
}

.preview-hero-frame .preview-name {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 2;
  font-size: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.specs-mini-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.spec-pill {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.scum-spec-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Tarjetas VIP de la Flota Draika con foto de portada */
.owned-card-hero {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: #000;
}

.owned-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.owned-vehicle-card:hover .owned-hero-img {
  transform: scale(1.05);
}

.owned-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 20, 30, 0.95) 0%, transparent 60%);
}

.owned-hero-badges {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.owned-card-hero .owned-vehicle-title {
  position: absolute;
  bottom: 8px;
  left: 12px;
  z-index: 2;
  font-size: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.meta-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 5px;
}

/* Foto del coche en el modal de confirmación de desguace */
.modal-vehicle-frame {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(239, 68, 68, 0.5);
  margin-bottom: 12px;
  background: #000;
}

.modal-vehicle-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-vehicle-crush-overlay {
  position: absolute;
  inset: 0;
  background: rgba(239, 68, 68, 0.4);
  backdrop-filter: brightness(0.6) saturate(1.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.crush-laser-beam {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: #ef4444;
  box-shadow: 0 0 15px #ef4444, 0 0 30px #fbbf24;
  animation: laserSweep 0.7s infinite alternate ease-in-out;
}

@keyframes laserSweep {
  0% { top: 0%; }
  100% { top: 98%; }
}

.crush-stamp-text {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  background: rgba(220, 38, 38, 0.9);
  padding: 6px 12px;
  border: 1px solid #fbbf24;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.9);
  text-align: center;
}

/* ==========================================================================
   14. ESTILOS OFICIALES DE IDENTIDAD: DRAIKA & DISCORD ID
   ========================================================================== */
.login-mechanics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.login-mechanic-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 119, 0, 0.4);
  border-radius: 24px;
  padding: 5px 12px;
  box-shadow: 0 0 12px rgba(255, 119, 0, 0.15);
}

.login-chip-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.login-chip-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.login-chip-name {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
}

.login-chip-discord {
  font-size: 9px;
  color: #94a3b8;
  font-family: 'Share Tech Mono', monospace;
}

/* User pill en barra superior */
.draika-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 119, 0, 0.12);
  border: 1px solid rgba(255, 119, 0, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
}

.header-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.user-meta-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header-discord-id {
  font-size: 9px;
  color: #a5b4fc;
  font-family: 'Share Tech Mono', monospace;
}

/* Banner de Perfil Principal de Draika */
.draika-profile-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(11, 15, 25, 0.98));
  border: 1px solid rgba(255, 119, 0, 0.45);
  border-left: 5px solid #ff7700;
  border-radius: 8px;
  padding: 16px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 0 25px rgba(255, 119, 0, 0.18), inset 0 0 20px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.draika-profile-banner::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 119, 0, 0.25) 50%);
  pointer-events: none;
}

.draika-avatar-wrapper {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.draika-avatar-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.draika-online-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  background: #10b981;
  border: 2.5px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.4s infinite alternate;
}

.draika-info-wrapper {
  flex: 1;
  min-width: 260px;
}

.draika-role-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.badge-role-draika {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid #fbbf24;
  color: #fbbf24;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
}

.badge-server-verified {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Share Tech Mono', monospace;
}

.draika-name {
  font-family: 'Teko', sans-serif;
  font-size: 34px;
  color: #fff;
  line-height: 1;
  margin: 0;
  letter-spacing: 1.5px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-shadow: 0 0 10px rgba(255, 119, 0, 0.4);
}

.draika-callsign {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: #fbbf24;
  letter-spacing: 1px;
}

.draika-discord-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.discord-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'Share Tech Mono', monospace;
  box-shadow: 0 0 14px rgba(88, 101, 242, 0.45);
}

.discord-svg-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.discord-label {
  font-size: 10px;
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.discord-id-val {
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.discord-tag-hint {
  font-size: 10px;
  opacity: 0.75;
}

.btn-copy-discord {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Share Tech Mono', monospace;
}

.btn-copy-discord:hover {
  background: #fff;
  color: #5865F2;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.whalley-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-mini-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.draika-stats-summary {
  display: flex;
  gap: 12px;
}

.draika-stat-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #1e293b;
  border-radius: 6px;
  padding: 10px 16px;
  text-align: center;
  min-width: 105px;
}

.draika-stat-num {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 800;
  color: #38bdf8;
}

.draika-stat-title {
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   15. ESTILOS DEL SELECTOR EXCLUSIVO DE MIS VEHÍCULOS (TAB 1)
   ========================================================================== */
.owned-sell-card {
  background: var(--bg-card);
  border: 1px solid #1e293b;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.owned-sell-card:hover {
  border-color: #ffaa00;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 119, 0, 0.25);
}

.owned-sell-card.selected {
  border: 2px solid #ff7700;
  box-shadow: 0 0 20px rgba(255, 119, 0, 0.45);
  background: rgba(255, 119, 0, 0.05);
}

.owned-sell-card.selected::before {
  content: "✓ SELECCIONADO PARA VENTA";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ff7700;
  color: #000;
  font-family: 'Orbitron', monospace;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 4;
  box-shadow: 0 0 10px rgba(255, 119, 0, 0.8);
}

.owned-sell-thumb {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #000;
}

.owned-sell-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.owned-sell-card:hover .owned-sell-thumb-img {
  transform: scale(1.05);
}

.owned-sell-plate {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #000;
  color: #fbbf24;
  border: 1px solid #fbbf24;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: monospace;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.owned-sell-entity-id {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.9);
  color: #38bdf8;
  border: 1px solid #38bdf8;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
}

.owned-sell-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.owned-sell-title {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  color: #fff;
  margin: 0;
}

.owned-sell-meta {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.45;
}

.rcon-action-hint-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px dashed rgba(239, 68, 68, 0.4);
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.rcon-action-title {
  display: block;
  font-size: 10px;
  font-weight: bold;
  color: #ef4444;
  margin-bottom: 3px;
}

.rcon-action-desc {
  font-size: 11px;
  color: #cbd5e1;
  line-height: 1.35;
}

.rcon-action-desc code {
  color: #38bdf8;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ==========================================================================
   ESTILOS DE TELEMETRÍA Y COORDENADAS GPS (#teleportto)
   ========================================================================== */
.coord-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.28);
  border-radius: 4px;
  padding: 6px 8px;
  margin: 6px 0;
}

.coord-box-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #cbd5e1;
}

.coord-tag {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10.5px;
  color: #38bdf8;
  letter-spacing: 0.2px;
  font-weight: 600;
  user-select: all;
  background: rgba(6, 9, 15, 0.85);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  word-break: break-all;
}

.btn-copy-coords {
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid #0ea5e9;
  color: #e0f2fe;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-copy-coords:hover {
  background: #0ea5e9;
  color: #fff;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.6);
  transform: translateY(-1px);
}

.btn-copy-coords:active {
  transform: translateY(0);
}

.cash-ref-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.discord-owner-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #a5b4fc;
  font-size: 10.5px;
  font-family: 'Share Tech Mono', monospace;
  padding: 2px 6px;
  border-radius: 3px;
}

.owned-sell-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

