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

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

html {
    scroll-behavior: smooth;
}

:root {
    /* Paleta Minimalista - Fondos */
    --bg-base: #000000;
    --bg-card: #1C1E24;
    
    /* Paleta Minimalista - Textos */
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-active: #E5E7EB;
    
    /* Paleta Minimalista - Bordes */
    --border-base: rgba(255, 255, 255, 0.06);
    --border-interactive: rgba(255, 255, 255, 0.1);
    
    /* Paleta Minimalista - Estados */
    --success-color: #10B981;
    --success-bg: rgba(16, 185, 129, 0.08);
    --error-color: #EF4444;
    --error-bg: rgba(239, 68, 68, 0.08);
    --warning-color: #F59E0B;
    --warning-bg: rgba(245, 158, 11, 0.08);
    --info-color: #3B82F6;
    --info-bg: rgba(59, 130, 246, 0.08);
    
    /* Paleta Minimalista - Sombra única */
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    
    /* Variables legacy para compatibilidad (se mantienen para notificaciones) */
    --primary-gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --secondary-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --accent-gradient: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    --bg-dark: #0a0a0a;
    --bg-card-hover: #1C1E24;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-bright: #00d4ff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-glow-cyan: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-glow-orange: 0 0 20px rgba(255, 107, 53, 0.3);
    --shadow-glow-green: 0 0 20px rgba(34, 197, 94, 0.4);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000 !important;
    min-height: 100vh;
    padding: 20px;
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

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

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.sidebar {
    width: 230px;
    background: var(--bg-base);
    border: 1px solid var(--border-base);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo h2 {
    font-size: 1.2rem;
    margin-bottom: 2px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sidebar-logo p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-link {
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}

.sidebar-link:hover {
    background: #181A20;
}

.sidebar-link.active {
    background: #181A20;
    color: var(--text-active);
    position: relative;
}

.sidebar-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1px;
    background-color: var(--text-active);
}

.sidebar-section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-top: 12px;
    opacity: 0.6;
}

.sidebar-submenu {
    display: flex;
    flex-direction: column;
}

.sidebar-link-parent {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.sidebar-submenu.active .submenu-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    margin-left: 20px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-submenu.active .sidebar-submenu-items {
    max-height: 500px;
    opacity: 1;
}

/* Estilos para iconos del menú - Color uniforme minimalista */
/* Excluir imágenes de gates con cargo (pp.png y stripe.png) */
.sidebar-link:not(.sidebar-link-child) img,
.mobile-menu-link img:not([src*="pp.png"]):not([src*="stripe.png"]) {
    filter: brightness(0) invert(1) opacity(0.85);
    transition: opacity 0.2s ease;
}

.sidebar-link:not(.sidebar-link-child):hover img,
.mobile-menu-link:hover img:not([src*="pp.png"]):not([src*="stripe.png"]) {
    opacity: 1;
}

.sidebar-link:not(.sidebar-link-child).active img,
.mobile-menu-link.active img:not([src*="pp.png"]):not([src*="stripe.png"]) {
    opacity: 1;
    filter: brightness(0) invert(1) opacity(1);
}

/* Mantener imágenes de gates con cargo sin filtro */
.sidebar-link-child img,
.mobile-menu-link img[src*="pp.png"],
.mobile-menu-link img[src*="stripe.png"] {
    filter: none;
    opacity: 1;
}

.sidebar-link-child {
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-left: 12px;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-left: 2px solid var(--border-interactive);
    display: block;
    width: calc(100% - 12px);
    box-sizing: border-box;
    border-radius: 8px;
}

.sidebar-link-child:hover {
    background: #181A20;
}

.bin-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.bin-info-item {
    background: #181A20;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bin-info-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.bin-info-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.sidebar-link.disabled {
    cursor: not-allowed;
    opacity: 0.6;
    border-color: rgba(255, 255, 255, 0.05);
}

.badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 9px;
    border-radius: 4px;
    background: rgba(255, 196, 0, 0.15);
    border: 1px solid rgba(255, 196, 0, 0.3);
    color: #ffd166;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.main-content {
    flex: 1;
}

.main-content .container {
    max-width: 100%;
    margin: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-section + .content-section {
    margin-top: 30px;
}

.header {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.4s ease;
}

.info-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.info-banner {
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s ease;
}

.info-banner:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.info-banner h3 {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.info-banner p {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.info-banner small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    cursor: pointer;
    opacity: 0.95;
}

.logo-icon:hover {
    opacity: 1;
}

.header h1 {
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    letter-spacing: -0.01em !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 1em !important;
    position: relative !important;
}

/* Asegurar que el texto SIEMPRE sea visible */
.header .logo h1,
.header h1 {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


.subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.card {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border-base);
    animation: fadeInUp 0.4s ease;
    transition: border-color 0.2s ease;
    position: relative;
}

.card:hover {
    background: var(--bg-card);
    border-color: var(--border-interactive);
}

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

.card-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.label-icon {
    font-size: 1.1rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}


input[type="text"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #181A20;
    color: var(--text-primary);
    position: relative;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    background: var(--bg-base);
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

input[type="text"]:hover:not(:focus),
input[type="number"]:hover:not(:focus),
textarea:hover:not(:focus),
select:hover:not(:focus) {
    background: var(--bg-base);
    border-color: var(--border-interactive);
}

input[type="text"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
    color: #555555;
}

textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Space Grotesk', monospace;
    line-height: 1.6;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 400;
    padding: 8px 12px;
    background: #181A20;
    border-radius: 6px;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    opacity: 0.8;
}

.generator-panel {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.generator-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.generator-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.generator-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #181A20;
}

.generator-input input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0;
}

.generator-input input:focus {
    outline: none;
    box-shadow: none;
}

.generator-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.generator-icon {
    font-size: 1.1rem;
    opacity: 0.75;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

.generator-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    max-width: 260px;
}

.generator-meta label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.generator-meta input,
.generator-meta select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #181A20;
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.generator-meta input:focus,
.generator-meta select:focus {
    outline: none;
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

.generator-actions {
    margin-top: 5px;
}

/* ========== GENERADOR COMPACTO ========== */
.generator-compact-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #181A20;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.generator-compact-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: end;
}

.generator-compact-row-full {
    grid-template-columns: 1fr;
}

.generator-compact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.generator-compact-item-full {
    width: 100%;
}

.generator-compact-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    white-space: nowrap;
}

.generator-compact-label .label-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

.generator-compact-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 13px;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    background: #181A20;
    color: var(--text-primary);
    font-weight: 500;
}

.generator-compact-input:focus {
    outline: none;
    background: #181A20;
}

.generator-compact-input:hover:not(:focus) {
    background: #181A20;
}

.generator-compact-input::placeholder {
    color: #555555;
    font-size: 12px;
}

.generator-compact-hint {
    margin-top: 0;
    text-align: center;
}

.generator-compact-hint .form-hint {
    font-size: 0.8rem;
    padding: 6px 10px;
    margin: 0;
}

/* Tema Kairos para generador compacto */
body.theme-kairos .generator-compact-input {
    background: #181A20;
    border-color: rgba(255, 255, 255, 0.08);
}

body.theme-kairos .generator-compact-input:focus {
    background: #181A20;
}

body.theme-kairos .generator-compact-input:hover:not(:focus) {
    background: #181A20;
}

/* Responsive para generador compacto */
@media (max-width: 1024px) {
    .generator-compact-row {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 12px;
    }
    
    .generator-compact-item-large {
        grid-column: span 3;
    }
    
    .generator-compact-item:nth-child(4),
    .generator-compact-item:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .generator-compact-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .generator-compact-item-large {
        grid-column: span 1;
    }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.btn {
    padding: 14px 28px;
    border: 1px solid var(--border-base);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow);
}


.btn-icon {
    font-size: 1rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

.btn span:not(.btn-icon) {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    color: var(--text-primary);
    width: 100%;
}

.btn-primary:hover {
    background: var(--bg-card);
    border-color: var(--border-interactive);
}

.btn-primary:active {
    background: var(--bg-card);
    border-color: var(--border-interactive);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    color: var(--text-primary);
    width: 100%;
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-interactive);
}

.btn-secondary:active {
    background: var(--bg-card);
    border-color: var(--border-interactive);
}

.bulk-section {
    margin-top: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-base);
}

.results-card {
    min-height: 200px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-base);
}

.results-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100px;
}

.empty-state {
    text-align: center;
    padding: 80px 30px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}


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

.empty-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.4;
    position: relative;
    z-index: 1;
}

.empty-state p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

.empty-state small {
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.section-placeholder {
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    background: #181A20;
}

.section-placeholder .placeholder-content {
    padding: 30px 10px;
}

.section-placeholder h2 {
    margin-bottom: 10px;
}

.section-placeholder p {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-placeholder small {
    color: var(--text-secondary);
}

.result-item {
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    background: #181A20;
    transition: border-color 0.2s ease;
}

.result-item:hover {
    background: #181A20;
    border-color: currentColor;
}


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

.result-item strong {
    font-weight: 600;
    display: inline-block;
    margin-right: 5px;
}

.result-item.success {
    background: #181A20;
    border-color: var(--success-color);
    color: #4ade80;
    animation: slideIn 0.3s ease;
    border-width: 1px;
}

.result-item.error {
    background: #181A20;
    border-color: var(--error-color);
    color: #fb7185;
    animation: slideIn 0.3s ease;
    border-width: 1px;
}

.result-item.warning {
    background: #181A20;
    border-color: var(--warning-color);
    color: #fdba74;
    animation: slideIn 0.3s ease;
    border-width: 1px;
}

@keyframes pulseGlowGreen {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.4), 0 0 60px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(34, 197, 94, 0.8), 0 0 60px rgba(34, 197, 94, 0.6), 0 0 80px rgba(34, 197, 94, 0.4);
    }
}

@keyframes pulseGlowRed {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(244, 63, 94, 0.6), 0 0 40px rgba(244, 63, 94, 0.4), 0 0 60px rgba(244, 63, 94, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(244, 63, 94, 0.8), 0 0 60px rgba(244, 63, 94, 0.6), 0 0 80px rgba(244, 63, 94, 0.4);
    }
}

@keyframes pulseGlowOrange {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(251, 146, 60, 0.6), 0 0 40px rgba(251, 146, 60, 0.4), 0 0 60px rgba(251, 146, 60, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(251, 146, 60, 0.8), 0 0 60px rgba(251, 146, 60, 0.6), 0 0 80px rgba(251, 146, 60, 0.4);
    }
}

.result-item .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
    letter-spacing: 0.05em;
    border: 1px solid currentColor;
    opacity: 0.9;
}

.result-item.success .status-badge {
    background: var(--success-bg);
    color: #6EE7B7;
    border-color: var(--success-color);
}

.result-item.error .status-badge {
    background: var(--error-bg);
    color: #FCA5A5;
    border-color: var(--error-color);
}

.result-item.warning .status-badge {
    background: var(--warning-bg);
    color: #FCD34D;
    border-color: var(--warning-color);
}

code {
    background: var(--info-bg);
    color: var(--info-color);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Space Grotesk', monospace;
    border: 1px solid var(--info-color);
}

/* Menú horizontal superior para móviles - SIEMPRE VISIBLE */
.mobile-top-menu {
    display: none;
}

.mobile-menu-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-menu-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-menu-link {
    flex-shrink: 0;
    padding: 10px 14px;
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
    letter-spacing: 0.01em;
}

.mobile-menu-link:hover {
    background: #181A20;
}

.mobile-menu-link.active {
    background: #181A20;
    color: var(--text-active);
    position: relative;
}

.mobile-menu-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1px;
    background-color: var(--text-active);
}

.sidebar-overlay {
    display: none;
    pointer-events: none;
}

/* Menú móvil horizontal siempre visible */

/* Estilos responsive mejorados */
/* Responsive para tablets */
@media (max-width: 1024px) {
    body {
        padding: 10px;
    }
    
    .layout {
        gap: 20px;
    }
    
    .sidebar {
        width: 200px;
    }
    
    .kairos-profile-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .kairos-statistics-grid {
        grid-template-columns: 1fr;
    }
}

/* Menú móvil horizontal siempre visible */
@media (max-width: 900px) {
    /* Mostrar menú horizontal en la parte superior */
    .mobile-top-menu {
        display: block;
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #181A20;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Ocultar sidebar completamente en móvil */
    .sidebar {
        display: none !important;
    }
    
    .main-content {
        width: 100%;
        margin-left: 0;
    }
    
    .layout {
        gap: 0;
        flex-direction: column;
    }
    
    /* Ajustar padding del body para el menú */
    body {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar-overlay {
        display: block;
    }
    
    body {
        padding: 10px;
    }
    
    .layout {
        flex-direction: row;
        max-width: 100%;
        gap: 0;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        height: 100vh;
        width: 280px;
        z-index: 9999;
        border-radius: 0;
        padding: 70px 20px 25px;
        flex-direction: column;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .sidebar-menu {
        flex-direction: column;
        gap: 12px;
    }
    
    .sidebar-link {
        flex: none;
        text-align: left;
    }
    
    .main-content {
        width: 100%;
        margin-left: 0;
    }

    .container {
        padding: 0;
        max-width: 100%;
    }
    
    .card {
        padding: 20px 15px;
        border-radius: 16px;
        margin-bottom: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-header h2 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .info-banners {
        grid-template-columns: 1fr;
    }
    
    /* Dashboard Kairos responsive */
    .kairos-header-section {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .kairos-profile-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .kairos-statistics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .mobile-menu-toggle {
        top: 10px;
        left: 10px;
        width: 42px;
        height: 42px;
    }
    
    .sidebar {
        width: 260px;
        left: -260px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 15px 12px;
    }
    
    .card-header h2 {
        font-size: 1.2rem;
    }
    
    .kairos-main-title {
        font-size: 2.5rem !important;
    }
    
    .kairos-main-logo {
        width: 60px !important;
        height: 60px !important;
    }
}

.server-status {
    transition: all 0.3s ease;
}

.server-status.online {
    background: var(--success-bg) !important;
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.server-status.offline {
    background: var(--error-bg) !important;
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

.dev-banner {
    background: linear-gradient(180deg, rgba(101, 67, 33, 0.4) 0%, rgba(139, 90, 43, 0.5) 50%, rgba(101, 67, 33, 0.4) 100%);
    border-radius: 16px;
    padding: 40px 30px;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-height: 200px;
    justify-content: center;
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: none;
}

.dev-banner p {
    color: rgba(200, 200, 200, 0.9);
    font-size: 15px;
    margin: 0;
    font-weight: 400;
}

input:disabled,
textarea:disabled,
select:disabled,
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02) !important;
}

input:disabled::placeholder,
textarea:disabled::placeholder {
    opacity: 0.3;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

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

    .sidebar-menu {
        width: 100%;
    }

    .sidebar-link {
        flex: 1 1 100%;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px 15px;
    }
}

/* Sistema de Notificaciones Personalizado - Estilo Amazon Gate */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 450px;
    pointer-events: none;
}

.notification {
    background: #181A20;
    border-radius: 16px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 212, 255, 0.1);
    padding: 20px 24px;
    backdrop-filter: blur(10px);
    animation: slideInNotification 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    min-width: 320px;
    border: 2px solid;
    font-size: 14px;
    line-height: 1.6;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: currentColor;
    box-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
    animation: borderGlow 2s ease-in-out infinite;
}

.notification.info {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 153, 204, 0.15) 100%);
    border-color: var(--info-color);
    color: #00d4ff;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
}

.notification.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(22, 163, 74, 0.25) 100%);
    border-color: var(--success-color);
    color: #4ade80;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.4);
}

.notification.error {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.3) 0%, rgba(225, 29, 72, 0.25) 100%);
    border-color: var(--error-color);
    color: #fb7185;
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.6), 0 0 40px rgba(244, 63, 94, 0.4);
}

.notification.warning {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.3) 0%, rgba(234, 88, 12, 0.25) 100%);
    border-color: var(--warning-color);
    color: #fdba74;
    box-shadow: 0 8px 30px rgba(251, 146, 60, 0.6), 0 0 40px rgba(251, 146, 60, 0.4);
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-close {
    background: none;
    border: none;
    color: currentColor;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: all 0.2s ease;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.notification-message {
    white-space: pre-line;
}

@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translateX(400px) scale(0.9);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.notification.removing {
    animation: slideOutNotification 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideOutNotification {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(400px) scale(0.9);
    }
}

@media (max-width: 768px) {
    .notification-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        min-width: auto;
    }
}

/* ========== EXTRAPOLADOR DE TARJETAS ========== */
.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.result-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.card-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-item.valid {
    border-left: 4px solid #10b981;
}

.card-item.invalid {
    border-left: 4px solid #ef4444;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 2px;
    word-break: break-all;
}

.card-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.valid {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.invalid {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.copy-card-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.copy-card-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.copy-card-btn:active {
    transform: scale(0.95);
}

.copy-card-btn span {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-header .btn-sm {
        width: 100%;
    }
}

/* Estilos mejorados para el select del extrapolador */
#extrapolador-metodo {
    width: 100%;
    padding: 14px 16px;
    padding-right: 45px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.9) 0%, rgba(17, 24, 39, 0.9) 100%);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#extrapolador-metodo:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(30, 64, 175, 0.15) 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

#extrapolador-metodo:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(30, 64, 175, 0.2) 100%);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 0 24px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

#extrapolador-metodo option {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
}

#extrapolador-metodo option:hover {
    background: rgba(59, 130, 246, 0.2);
}

#extrapolador-metodo option:checked {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff;
}

/* Estilos para el botón de ejemplo del extrapolador */
.btn-ejemplo {
    padding: 6px 12px !important;
    font-size: 11px !important;
    background: rgba(59, 130, 246, 0.2) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    border-radius: 6px !important;
    color: #60a5fa !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.btn-ejemplo:hover {
    background: rgba(59, 130, 246, 0.3) !important;
    border-color: rgba(59, 130, 246, 0.6) !important;
    color: #93c5fd !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.2) !important;
}

.btn-ejemplo:active {
    transform: translateY(0) !important;
}

/* Estilos para el contenedor de ejemplo */
#extrapolador-ejemplo {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

#extrapolador-ejemplo code {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.9em;
}

/* Estilos para validación de inputs de tarjetas */
.extrapolador-tarjeta-input.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.extrapolador-tarjeta-input.input-valid {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Estilos para validación de input de BIN */
#bin-input.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

#bin-input.input-valid {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* ========== SECCIÓN DE CONFIGURACIONES ========== */
.settings-section {
    margin-top: 20px;
}

.settings-group {
    margin-bottom: 40px;
}

.settings-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.settings-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
}

.settings-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.theme-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.theme-option {
    cursor: pointer;
    border: 1px solid var(--border-base);
    border-radius: 12px;
    padding: 20px;
    background: var(--bg-card);
    transition: border-color 0.2s ease;
    position: relative;
    box-shadow: var(--shadow);
}

.theme-option:hover {
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

.theme-option.active {
    border-color: var(--success-color);
    box-shadow: var(--shadow);
    background: var(--bg-card);
}

/* Estilos específicos para tema Kairos activo */
body.theme-kairos .theme-option[data-theme="kairos"].active {
    border-color: var(--success-color);
    box-shadow: var(--shadow);
    background: var(--bg-card);
}

body.theme-kairos .theme-option[data-theme="original"].active {
    border-color: var(--info-color);
    box-shadow: var(--shadow);
    background: var(--bg-card);
}

.theme-preview {
    margin-bottom: 15px;
}

.theme-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-base);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid var(--border-base);
}

.theme-preview-header.kairos-header {
    background: var(--bg-base);
    border: 1px solid var(--border-base);
}

.kairos-logo-preview {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.theme-preview-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.theme-preview-title.kairos-title {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.theme-preview-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.theme-preview-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.theme-preview-bar.kairos-bar {
    background: var(--success-color);
}

.theme-preview-bar.kairos-bar:nth-of-type(1) {
    background: var(--success-color);
}

.theme-preview-bar.kairos-bar:nth-of-type(2) {
    background: var(--info-color);
}

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

.theme-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.theme-status {
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--bg-base);
    border: 1px solid var(--border-base);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.theme-status.active {
    background: var(--success-bg);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    font-weight: 500;
}

/* ========== TEMA KAIROS ========== */
body.theme-kairos {
    background: #0a0a0a;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    background-attachment: fixed;
    background-size: 100% 100%;
    position: relative;
}

body.theme-kairos::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 92, 246, 0.02) 2px,
            rgba(139, 92, 246, 0.02) 4px
        );
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

body.theme-kairos .background-animation {
    display: none;
}

body.theme-kairos .layout {
    position: relative;
    z-index: 1;
}

body.theme-kairos .sidebar {
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-kairos .sidebar-logo h2 {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.theme-kairos .sidebar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    transition: opacity 0.2s ease;
    opacity: 0.9;
    cursor: pointer;
}

body.theme-kairos .sidebar-logo img:hover {
    opacity: 1;
}

body.theme-kairos .sidebar-logo .logo-icon {
    display: block !important;
}

body.theme-kairos .sidebar-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    border-radius: 10px;
}

body.theme-kairos .sidebar-link:hover {
    background: #181A20;
}

body.theme-kairos .sidebar-link.active {
    background: #181A20;
    color: var(--text-active);
    position: relative;
}

body.theme-kairos .sidebar-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1px;
    background-color: var(--text-active);
}

body.theme-kairos .card {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
}

body.theme-kairos .card:hover {
    background: #181A20;
}

body.theme-kairos .card-header h2 {
    color: #ffffff;
    font-weight: 700;
}

body.theme-kairos .header h1 {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
}

body.theme-kairos .header .logo-icon {
    display: none;
}

body.theme-kairos .header .logo img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
    margin-right: 15px;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

body.theme-kairos .header .logo img:hover {
    transform: scale(1.25);
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.8));
}

body.theme-kairos .info-banner {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

body.theme-kairos .info-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

body.theme-kairos .btn-primary {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    color: var(--text-primary);
    width: 100%;
    box-shadow: var(--shadow);
    position: relative;
}

body.theme-kairos .btn-primary::after {
    display: none;
}

body.theme-kairos .btn-primary::before {
    display: none;
}

body.theme-kairos .btn-primary:hover::before {
    display: none;
}

body.theme-kairos .btn-primary:hover::after {
    display: none;
}

body.theme-kairos .btn-primary:hover {
    background: var(--bg-card);
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

body.theme-kairos .btn-primary:active {
    background: var(--bg-card);
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

body.theme-kairos .btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    color: var(--text-primary);
    width: 100%;
    box-shadow: var(--shadow);
    position: relative;
}

body.theme-kairos .btn-secondary::after {
    display: none;
}

body.theme-kairos .btn-secondary::before {
    display: none;
}

body.theme-kairos .btn-secondary:hover::before {
    display: none;
}

body.theme-kairos .btn-secondary:hover::after {
    display: none;
}

body.theme-kairos .btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

body.theme-kairos .btn-secondary:active {
    background: var(--bg-card);
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

body.theme-kairos input[type="text"],
body.theme-kairos input[type="number"],
body.theme-kairos textarea,
body.theme-kairos select {
    background: rgba(15, 15, 15, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

body.theme-kairos input[type="text"]:focus,
body.theme-kairos input[type="number"]:focus,
body.theme-kairos textarea:focus,
body.theme-kairos select:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.25), 0 0 30px rgba(139, 92, 246, 0.4), inset 0 0 20px rgba(139, 92, 246, 0.08);
    background: rgba(10, 10, 10, 0.95);
}

body.theme-kairos input[type="text"]:hover:not(:focus),
body.theme-kairos input[type="number"]:hover:not(:focus),
body.theme-kairos textarea:hover:not(:focus),
body.theme-kairos select:hover:not(:focus) {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

body.theme-kairos .result-item.success {
    background: #181A20;
    border-color: var(--success-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.theme-kairos .result-item.error {
    background: #181A20;
    border-color: var(--error-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.theme-kairos .result-item.warning {
    background: #181A20;
    border-color: var(--warning-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Mejoras adicionales para tema Kairos */
body.theme-kairos .header h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    font-weight: 800;
}

body.theme-kairos .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.5px;
}

body.theme-kairos .card-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.theme-kairos .card-description {
    color: rgba(255, 255, 255, 0.5);
}

body.theme-kairos .form-group label {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    font-size: 1.05rem;
}

body.theme-kairos .label-icon {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
}

body.theme-kairos .form-hint {
    background: #181A20;
    border-left-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

body.theme-kairos input[type="text"],
body.theme-kairos input[type="number"],
body.theme-kairos textarea {
    background: rgba(15, 15, 15, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.theme-kairos input[type="text"]::placeholder,
body.theme-kairos input[type="number"]::placeholder,
body.theme-kairos textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

body.theme-kairos .info-banner h3 {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

body.theme-kairos .info-banner p {
    color: #ffffff;
    font-weight: 700;
}

body.theme-kairos .info-banner small {
    color: rgba(255, 255, 255, 0.4);
}

body.theme-kairos .sidebar-section-label {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    opacity: 0.6;
}

body.theme-kairos .badge {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: #a78bfa;
}

body.theme-kairos .server-status {
    background: rgba(20, 20, 20, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

body.theme-kairos .server-status.online {
    background: var(--success-bg) !important;
    border-color: var(--success-color) !important;
    color: #6EE7B7 !important;
}

body.theme-kairos .server-status.offline {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
}

/* Mejoras adicionales para secciones del menú en tema Kairos */
body.theme-kairos .card-header h2 {
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
}

body.theme-kairos .card-header h2 img {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3)) brightness(1.1) saturate(1.2);
    transition: filter 0.3s ease;
}

body.theme-kairos .card-header h2 img:hover {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.5)) brightness(1.2) saturate(1.3);
}

body.theme-kairos .card-description {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

body.theme-kairos .empty-state {
    background: var(--bg-card);
    border-color: var(--border-base);
}

body.theme-kairos .empty-icon {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

body.theme-kairos .results-card {
    background: var(--bg-card);
    border-color: var(--border-base);
}

body.theme-kairos .bulk-section {
    background: var(--bg-card);
    border-color: var(--border-base);
}

body.theme-kairos .generator-panel {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

body.theme-kairos .bin-info-grid {
    gap: 20px;
}

body.theme-kairos .bin-info-item {
    background: #181A20;
    border-color: rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

body.theme-kairos .bin-info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Responsive para tema selector */
@media (max-width: 768px) {
    .theme-selector {
        grid-template-columns: 1fr;
    }
}

/* ========== DASHBOARD KAIROS PROFESIONAL ========== */

/* Ocultar/mostrar dashboards según el tema */
body.theme-kairos .dashboard-original {
    display: none !important;
}

body:not(.theme-kairos) .dashboard-kairos {
    display: none !important;
}

body.theme-kairos .dashboard-kairos {
    display: block !important;
}

/* Header Principal Kairos - Versión Profesional */
.kairos-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 35px;
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.kairos-header-section::before {
    display: none;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.kairos-logo-title {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.kairos-main-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    filter: none;
    animation: none;
    border-radius: 12px;
    background: transparent;
    padding: 8px;
    transition: transform 0.2s ease;
}

.kairos-main-logo:hover {
    transform: scale(1.4) rotate(5deg);
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.95));
    cursor: pointer;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.kairos-main-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: none;
    animation: none;
    position: relative;
}

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

.kairos-version {
    font-size: 0.85rem;
    color: rgba(167, 139, 250, 0.7);
    font-weight: 600;
    margin-left: 8px;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    letter-spacing: 1px;
}

.kairos-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.kairos-notification-icon {
    font-size: 0;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
    position: relative;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 10002;
    pointer-events: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kairos-notification-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.7;
}

.kairos-notification-icon:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    transform: none;
}

/* Badge rojo solo aparece cuando hay notificaciones no leídas */
.kairos-notification-icon.has-unread::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #0f0f0f;
    animation: pulseNotification 2s ease-in-out infinite;
}

@keyframes pulseNotification {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.kairos-rank-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.kairos-rank-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.6);
}

.rank-icon {
    font-size: 0;
    width: 0;
    height: 0;
    opacity: 0;
}

@keyframes rotateStar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rank-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #c4b5fd;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.kairos-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.kairos-user-profile:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.kairos-user-profile:hover .user-avatar {
    transform: none;
    background: rgba(255, 255, 255, 0.15);
}

.user-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

/* Profile Cards - Versión Ultra Profesional */
.kairos-profile-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.kairos-profile-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #181A20;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-height: 100px;
}

.kairos-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, currentColor 0%, transparent 100%);
    opacity: 0.8;
    transition: width 0.4s ease;
}

.kairos-profile-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.kairos-profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.kairos-card-blue {
    border-left: 5px solid #3b82f6;
}

.kairos-card-blue::before {
    background: linear-gradient(180deg, #3b82f6 0%, transparent 100%);
}

.kairos-card-blue:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
}

.kairos-card-green {
    border-left: 5px solid #10b981;
}

.kairos-card-green::before {
    background: linear-gradient(180deg, #10b981 0%, transparent 100%);
}

.kairos-card-green:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.3);
}

.kairos-card-orange {
    border-left: 5px solid #f59e0b;
}

.kairos-card-orange::before {
    background: linear-gradient(180deg, #f59e0b 0%, transparent 100%);
}

.kairos-card-orange:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.3);
}

.kairos-card-purple {
    border-left: 5px solid #8b5cf6;
}

.kairos-card-purple::before {
    background: linear-gradient(180deg, #8b5cf6 0%, transparent 100%);
}

.kairos-card-purple:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(139, 92, 246, 0.3);
}

.profile-card-icon {
    font-size: 0;
    opacity: 0;
    width: 0;
    height: 0;
    transition: none;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.kairos-profile-card:hover .profile-card-icon {
    transform: none;
}

.profile-card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.profile-card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-card-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0;
    text-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Statistics Grid - Versión Ultra Profesional */
.kairos-statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.kairos-stat-card {
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.kairos-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.8) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.kairos-stat-card:hover::before {
    opacity: 1;
}

.kairos-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.stat-card-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.stat-icon {
    font-size: 0;
    width: 0;
    height: 0;
    opacity: 0;
    animation: none;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.stat-chart-container {
    position: relative;
    height: 280px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
}

.stat-legend {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.legend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.legend-red {
    background: #ef4444;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
}

.legend-blue {
    background: #3b82f6;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.legend-green {
    background: var(--success-color);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.legend-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.legend-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-left: 8px;
    letter-spacing: -0.5px;
}

/* Top Rankers Section - Versión Ultra Profesional */
.kairos-rankers-section {
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.kairos-rankers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.8) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.rankers-chart-container {
    position: relative;
    height: 320px;
    margin-bottom: 25px;
    border-radius: 16px;
    background: var(--bg-card); /* #1C1E24 */
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border-base);
}

.rankers-chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.4) 50%, transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
    z-index: 2;
}

.rankers-filters {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.filter-icon {
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.filter-icon:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.15) translateY(-3px);
}

/* Efectos adicionales profesionales */
.kairos-profile-card,
.kairos-stat-card,
.kairos-rankers-section {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Efecto de brillo en hover para cards */
.kairos-profile-card::after,
.kairos-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.kairos-profile-card:hover::after,
.kairos-stat-card:hover::after {
    left: 100%;
}

/* Scrollbar personalizado para tema Kairos */
body.theme-kairos ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body.theme-kairos ::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

body.theme-kairos ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6 0%, #6366f1 100%);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
}

body.theme-kairos ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
}

/* Responsive Dashboard Kairos */
@media (max-width: 768px) {
    .kairos-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }
    
    .kairos-profile-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .kairos-statistics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    
    .kairos-main-title {
        font-size: 2rem;
    }
    
    .kairos-main-logo {
        width: 60px;
        height: 60px;
    }
    
    .stat-chart-container,
    .rankers-chart-container {
        height: 250px;
    }
}

/* Panel de Notificaciones */
.notifications-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background: #181A20;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.notifications-panel.active {
    right: 0;
}

.notifications-panel-header {
    padding: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #181A20;
}

.notifications-panel-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notifications-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notifications-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.notifications-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.2s ease;
    animation: slideInRight 0.4s ease;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.notification-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.notification-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.notification-badge.admin {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.notification-date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.notification-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.notification-item-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.notifications-overlay {
    display: none; /* Overlay desactivado - no oscurece la pantalla */
}

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

@media (max-width: 768px) {
    .notifications-panel {
        width: 100%;
        right: -100%;
    }
}

/* ========== ESTILOS PARA GENERADOR DE IDENTIDADES FALSAS ========== */
.identity-grid {
    display: grid;
    gap: 25px;
    margin-top: 20px;
}

.identity-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.identity-section:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.identity-section-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.identity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.identity-item:last-child {
    border-bottom: none;
}

.identity-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 150px;
}

.identity-value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

@media (max-width: 768px) {
    .identity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .identity-label {
        min-width: auto;
    }
    
    .identity-value {
        text-align: left;
    }
}

/* ============================================
   NÚMEROS TEMPORALES
   ============================================ */

.temp-numbers-section {
    margin-top: 20px;
}

.temp-numbers-info {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.temp-numbers-info .info-text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.temp-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.temp-number-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.temp-number-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.15);
}

.temp-number-card.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    color: var(--text-secondary);
}

.temp-number-card.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.temp-number-card.inactive {
    opacity: 0.6;
    border-color: var(--border-color);
}

.temp-number-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.temp-number-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.temp-number-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.temp-number-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.temp-number-status.inactive {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.temp-number-status.finished {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.temp-number-status.received {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.temp-number-status.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.temp-number-status.unknown {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.temp-number-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.temp-number-country {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.temp-number-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.temp-number-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.temp-number-btn.copy {
    background: var(--primary-color);
    color: white;
}

.temp-number-btn.copy:hover {
    background: #0099cc;
    transform: scale(1.02);
}

.temp-number-btn.view-sms {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.temp-number-btn.view-sms:hover {
    background: rgba(16, 185, 129, 0.2);
}

.temp-sms-section {
    margin-top: 30px;
}

.temp-sms-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 15px;
}

.temp-sms-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.temp-sms-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1);
}

.temp-sms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.temp-sms-from {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.temp-sms-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.temp-sms-text {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
    word-break: break-word;
}

/* ========== SISTEMA DE RANGOS ========== */
.kairos-ranks-section {
    margin-top: 40px;
    padding: 30px;
    background: #181A20;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.kairos-section-header {
    text-align: center;
    margin-bottom: 30px;
}

.kairos-section-header .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.kairos-section-header .section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.rank-card {
    background: #181A20;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    backdrop-filter: blur(8px);
}

.rank-card::before {
    display: none;
}

.rank-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(25, 25, 25, 0.7);
}

.rank-card:hover::before {
    display: none;
}

.rank-icon-large {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
    filter: none;
    transition: none;
    opacity: 0.9;
}

.rank-card:hover .rank-icon-large {
    transform: none;
}

.rank-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0.3px;
}

.rank-requirement {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.2px;
}

.rank-lives {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Colores específicos por rango - más sobrios */
.rank-card.bronce {
    color: #a67c52;
    border-color: rgba(166, 124, 82, 0.15);
}

.rank-card.bronce:hover {
    border-color: rgba(166, 124, 82, 0.25);
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.1);
}

.rank-card.plata {
    color: #9ca3af;
    border-color: rgba(156, 163, 175, 0.15);
}

.rank-card.plata:hover {
    border-color: rgba(156, 163, 175, 0.25);
    box-shadow: 0 4px 12px rgba(156, 163, 175, 0.1);
}

.rank-card.oro {
    color: #d4af37;
    border-color: rgba(212, 175, 55, 0.15);
}

.rank-card.oro:hover {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.rank-card.platino {
    color: #b8b8b8;
    border-color: rgba(184, 184, 184, 0.15);
}

.rank-card.platino:hover {
    border-color: rgba(184, 184, 184, 0.25);
    box-shadow: 0 4px 12px rgba(184, 184, 184, 0.1);
}

.rank-card.diamante {
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.15);
}

.rank-card.diamante:hover {
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.1);
}

@media (max-width: 1200px) {
    .ranks-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .ranks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .rank-icon-large {
        font-size: 1.5rem;
    }
    
    .rank-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .ranks-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.temp-sms-number-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .temp-numbers-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .temp-number-actions {
        flex-direction: column;
    }
}

/* ========== ESTILOS MEJORADOS PARA MI CUENTA ========== */
.account-info-section {
    margin: 30px 0;
}

.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.account-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 0;
    transition: border-color 0.2s ease;
    position: relative;
    box-shadow: var(--shadow);
}

.account-stat-card::before {
    display: none;
}

.account-stat-card:hover {
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

.account-stat-card:hover::before {
    display: none;
}

.stat-card-icon {
    font-size: 0;
    width: 0;
    height: 0;
    display: none;
}

.stat-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-card-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 4px;
}

/* Estilos específicos para cada tarjeta - Minimalista */
.account-stat-card:nth-child(1) .stat-card-icon {
    background: var(--bg-base);
    border-color: var(--border-base);
}

.account-stat-card:nth-child(1):hover .stat-card-icon {
    background: var(--bg-base);
    border-color: var(--border-interactive);
}

.account-stat-card:nth-child(1) .stat-card-value {
    color: var(--text-primary);
}

.account-stat-card:nth-child(2) .stat-card-icon {
    background: var(--bg-base);
    border-color: var(--border-base);
}

.account-stat-card:nth-child(2):hover .stat-card-icon {
    background: var(--bg-base);
    border-color: var(--border-interactive);
}

.account-stat-card:nth-child(3) .stat-card-icon {
    background: var(--bg-base);
    border-color: var(--border-base);
}

.account-stat-card:nth-child(3):hover .stat-card-icon {
    background: var(--bg-base);
    border-color: var(--border-interactive);
}

.account-stat-card:nth-child(3) .stat-card-value {
    color: var(--text-primary);
}

/* Estilos para menú desplegable en Mi Cuenta */
.account-dropdown-section {
    margin-bottom: 20px;
}

.account-dropdown-toggle {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.2s ease;
    position: relative;
    box-shadow: var(--shadow);
}

.account-dropdown-toggle::before {
    display: none;
}

.account-dropdown-toggle:hover {
    border-color: var(--border-interactive);
    box-shadow: var(--shadow);
}

.account-dropdown-toggle:hover::before {
    display: none;
}

.account-dropdown-toggle.active {
    border-color: var(--border-interactive);
    background: var(--bg-card);
}

.account-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-toggle-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dropdown-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.dropdown-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.dropdown-arrow {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
    font-weight: 500;
}

.account-dropdown-content {
    background: var(--bg-card);
    border: 1px solid var(--border-base);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 0 20px 20px 20px;
    margin-top: -1px;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para Mi Cuenta */
@media (max-width: 768px) {
    .account-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .account-stat-card {
        padding: 20px;
    }
    
    .stat-card-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .stat-card-value {
        font-size: 1.5rem;
    }
    
    .account-dropdown-toggle {
        padding: 16px 20px;
    }
    
    .dropdown-title {
        font-size: 1rem;
    }
}
