/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

/* Estilos para el editor */
[contenteditable=true]:focus {
    outline: none;
}

/* Estilos para el panel de sugerencias */
.suggestion-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-item:hover {
    background-color: #f3f4f6;
}

/* Estilos para el panel lateral */
.sidebar-open {
    transform: translateX(0);
}

/* Estilos para videos incrustados */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 1rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Estilos para imágenes */
img {
    max-width: 100%;
    height: auto;
}

/* Estilos para enlaces */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Estilos para dispositivos móviles */
@media (max-width: 640px) {
    .toolbar-container {
        flex-wrap: wrap;
    }
    
    .toolbar-group {
        margin-bottom: 0.5rem;
    }
}
