/* Estilos base */ :root { --bg-color: #ffffff; --text-color: #1a1a1a; --primary-color: #3B82F6; --secondary-color: #10B981; --border-color: #e5e7eb; --card-bg: #ffffff; } [data-theme="dark"] { --bg-color: #1a202c; --text-color: #f7fafc; --primary-color: #63B3ED; --secondary-color: #68D391; --border-color: #4a5568; --card-bg: #2d3748; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background-color: var(--bg-color); color: var(--text-color); } /* Estilos para el árbol XML */ #xmlTree { line-height: 1.6; background-color: #f8fafc; } .collapsible { cursor: pointer; user-select: none; } .collapsible::before { content: "+"; color: #6b7280; font-weight: bold; display: inline-block; width: 1em; margin-left: -1em; } .collapsible.active::before { content: "-"; } .nested { display: none; padding-left: 1.5em; } .nested.active { display: block; } /* Botones de copiar */ .copy-btn { background-color: #EFF6FF; color: #3B82F6; border: 1px solid #BFDBFE; border-radius: 4px; padding: 2px 6px; font-size: 12px; cursor: pointer; margin-left: 8px; transition: all 0.2s; } .copy-btn:hover { background-color: #DBEAFE; } /* Estilos para inputs editables */ input[type="text"] { transition: all 0.2s; } input[type="text"]:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); } .xml-tag { color: #3B82F6; font-weight: 500; } .xml-attr { color: #10B981; font-weight: 500; } .xml-value { color: #6B7280; } .excel-cell { color: #10B981; font-weight: 500; } .excel-sheet { color: #3B82F6; font-weight: 500; } /* Transiciones para hover */ button, .hover-transition { transition: all 0.2s ease-in-out; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; } ::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }