.text-editor__container {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
}

body {
    margin: 0px;
}

img {
    max-width: 100%;
}

.text-editor__container table {
    border-collapse: collapse;
}

.text-editor__container td,
.text-editor__container th {
    border: 1px solid;
}

/* #editable>div {
    padding: 1rem;
    margin: 1rem 0;
    outline: none;
    min-height: 100px;
    overflow: auto;
    max-height: 60vh;
        display: flex;
    flex-direction: column;
    gap:4px;
} */

.text-editor__container {
    min-width: 400px;
    max-width: 100%;
    margin: auto;
    max-height: 90vh;
}

.text-editor:focus-within {
    border-color: gray;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.text-editor {
    border: 1px solid lightgray;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.text-editor__controls {
    border-bottom: 1px solid lightgray;
    display: flex;
    padding: 0 0.5rem;
    align-items: center;
    justify-items: center;
    gap: 5px;
}

.text-editor__button {
    border: none;
    background-color: transparent;
    display: block;
    padding: 0.4rem 0.3rem;
    font-size: 1.2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.text-editor__button:hover {
    background-color: lightgray;
}


.text-editor__button__color {
    border: none;
    background-color: transparent;
    display: flex;
    flex-wrap: nowrap;
    font-size: 0.8;
    padding: 0;
    transition: all 0.3s;
    cursor: pointer;
    align-items: center;
    gap: 4px
}

.text-editor__color {
    border: none;
    background-color: transparent;
    display: block;
    padding: 0.3rem 0.1rem;
    font-size: 3.2rem;
    transition: all 0.3s;
    cursor: pointer;
    max-width: 0px;
}

.text-editor__send {
    background-color: crimson;
    color: white;
    border-radius: 10px;
    margin-top: 0.8rem;
    font-weight: bold;
    padding: 0.4rem 1.5rem;

    display: none;
}

.svg-icon {
    height: 18;
    fill: currentColor;
    pointer-events: none;
    cursor: pointer;
}

/* estilos resizer */
/* .text-editor .resizer {
    display: inline-block;
    position: relative;
} */

.text-editor .resize{
     cursor:nw-resize;
}

/*Table select*/
.text-editor__table-wrapper {
    position: relative;
}

.text-editor__table-grid {
    top: 100%;
    left: 0;
    margin-top: 4px;
}

.text-editor__table-grid {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    display: grid;
    grid-template-columns: repeat(6, 15px);
    grid-auto-rows: 15px;
    gap: 2px;
    padding: 5px;
    z-index: 1000;
}

.text-editor__table-grid div {
    background: #eee;
    cursor: pointer;
}

.text-editor__table-grid div.selected {
    background: gray;
}

.text-editor__editable table {
    margin-top: 4px;
}

.text-editor__editable td {
    position: relative;
    min-width: 100px;
    min-height: 100px;
}

.text-editor__editable table .col-resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    user-select: none;
}


.text-editor__editable .table-controls {
    margin-bottom: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    gap: 6px;
    display: none;
}

.text-editor__editable .table-controls button {
    cursor: pointer;
}

.text-editor__editable .table-wrapper {
    margin-bottom: 12px;
    position: relative
}

.text-editor__editable .table-wrapper:hover {
    padding-bottom: 2rem;
}

.text-editor__editable .table-wrapper:hover .table-controls {
    display: flex;
}

p {
    margin: 0 !important;
}

.text-editor__user-list {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    display: grid;
    top: 100%;
    left: 0;
    margin-top: 4px;
    padding: 5px;
    z-index: 1000;
}

.text-editor__font-controls {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    /* gap: 4px;
    margin-left: 10px; */
}

/* .user-active {
    background-color: aquamarine;
} */

/* #userList { 
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid lightgray;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: white;
} */

/* #userList #userListSearch {
    padding: 6px;
    border-radius: 6px;
    outline: none;
    border: 1px solid lightgray;
} */
/* 
#userList #userListSearch:hover {
    border: 1px solid gray;
} */

#userList #userListSearch:focus {
    border: 1px solid gray;
    outline: none;
}

.list-disc {
    list-style-type: disc;
}

.list-circle {
    list-style-type: circle;
}

.list-square {
    list-style-type: square;
}

.list-decimal {
    list-style-type: decimal;
}

.list-letter {
    list-style-type: lower-alpha;
}

.list-roman {
    list-style-type: lower-roman;
}

.separador {
    height: 24px;
    width: 1px;
    background-color: darkgray;
}

#fontSize {
    border-color: white;
    /* max-width: 0px; */
}

.select-wrapper {
    position: relative;
    display: inline-block;
    padding: 0 0.5rem;
    transition: all 0.3s;
}

select {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}