.sidebar { position: fixed; top: 0; right: -400px; width: 400px; height: 100vh; background: white; box-shadow: -2px 0 5px rgba(0,0,0,0.1); transition: right 0.3s ease; z-index: 40; overflow-y: auto; } .sidebar.open { right: 0; } .overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); display: none; z-index: 30; } .overlay.show { display: block; } #schema-editor { z-index: 50; } #schema-editor .modal-content { z-index: 51; width: 50% !important; max-width: 800px; } /* Reducción general de padding */ .container { padding-left: 1.5rem !important; padding-right: 1.5rem !important; } .p-6 { padding: 1.1rem !important; } .px-4 { padding-left: 0.7rem !important; padding-right: 0.7rem !important; } .py-8 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } /* Ajustes para el log */ #log-area { font-size: 0.7rem !important; line-height: 1.2 !important; padding: 0.7rem !important; } /* Ajustes para márgenes */ .mb-4 { margin-bottom: 0.7rem !important; } .mb-6 { margin-bottom: 1.1rem !important; } .mb-8 { margin-bottom: 1.5rem !important; } .mt-4 { margin-top: 0.7rem !important; } /* Estilos del modal */ .modal-header { position: sticky; top: 0; background: white; z-index: 52; padding: 1rem; border-bottom: 1px solid #e5e7eb; } .modal-footer { position: sticky; bottom: 0; background: white; z-index: 52; padding: 1rem; border-top: 1px solid #e5e7eb; }