/* Variables Globales V1 */
:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border-light: #e2e8f0;
  
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --radius-xl: 1rem;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* Transiciones Tabs */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.tab-content.block {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilidades Tailwind-like para el menú */
.tab-btn {
    color: var(--text-secondary);
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: #f1f5f9;
}

.tab-btn.active {
    background-color: white;
    color: var(--emerald-600);
    box-shadow: var(--shadow-sm);
}

/* Utilidades para badges de resultados */
.badge-win {
    background-color: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-loss {
    background-color: #ffe4e6;
    color: #9f1239;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-gray {
    background-color: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Hover de fila tabla */
tr.hover-row:hover {
    background-color: #f8fafc;
}
