.custom-text-editor-wrapper {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.custom-text-editor {
    display: inline-block;
    width: 100%;
    padding: 0.46875rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #596882;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #c0ccda;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    overflow-y: auto;
}

.custom-text-editor:focus {
    color: #596882;
    background-color: #fff;
    border-color: #7cb2fe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(1, 104, 250, 0.25);
}

.custom-text-editor.has-error {
    border-color: #dc3545 !important;
}
.custom-text-editor.has-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.custom-text-editor:empty:not(:focus):before {
    content: attr(placeholder);
    white-space: pre-wrap;
}

.emoji-selector-wrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: transparent !important;
}

.emoji-selector.card {
    position: absolute;
    z-index: 10;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.emoji-selector.card > .card-body {
    height: 100%;
}
.emoji-selector.card .emoji-selector-content {
    height: 100%;
    overflow-y: auto;
    padding-bottom: 4rem;
}

.emoji-selector.emoji-selector-data {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: white;
    border: 1px solid #afafaf;
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji-selector.emoji-selector-data:hover {
    background-color: #afafaf;
}
