.tab-container {
  display: flex;
  flex-direction: column;
  border: 1px solid black;
  width: 100%;
  height: 100%;
}

.tab-content-area {
  flex: 1;
  position: relative;
}

.tab-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: auto;
  display: none;
}

.tab-content-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: auto;
}

.tab-content.active {
  display: block;
}

.flex-container {
  display: flex;
  flex-direction: column;
  height: 100%; /* nebo jiná výška podle potřeby, např. 100vh */
}

.flex-fill {
  flex: 1;
  //overflow: auto; /* volitelně pro scrollování obsahu */
}

.editor
{
    background: white;
    word-wrap: break-word;       /* zalamuje dlouhá slova */
    overflow-wrap: break-word;   /* moderní standard */
    white-space: normal;         /* povoluje zalamování na mezery */
    padding: 5px;        /* vizuálně hezčí */
    
}


.toolbar 
{
    /*height: 50px;*/
    background: lightgray;
}
