.thaw-textarea {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--thaw-background-color);
    font-size: 14px;
    color: var(--thaw-font-color);
    border: 1px solid var(--thaw-border-color);
    border-radius: var(--thaw-border-radius);
    cursor: text;
    transition: all 0.3s;
}

.thaw-textarea--focus,
.thaw-textarea:hover:not(.thaw-textarea--disabled, .thaw-textarea--invalid) {
    border-color: var(--thaw-border-color-hover);
}

.thaw-textarea--disabled,
.thaw-textarea--disabled .thaw-textarea__textarea-el {
    cursor: not-allowed;
    background-color: var(--thaw-background-color-disabled);
    color: var(--thaw-font-color-disabled);
}

.thaw-textarea--invalid {
    border-color: var(--thaw-border-color-error);
}

.thaw-textarea--focus:not(.thaw-textarea--invalid) {
    box-shadow: 0 0 0 2px var(--thaw-box-shadow-color);
}

.thaw-textarea--focus.thaw-textarea--invalid {
    box-shadow: 0 0 0 2px var(--thaw-box-shadow-color-invalid);
}

.thaw-textarea__textarea-el {
    width: 100%;
    height: 100%;
    min-height: 34px;
    padding: 5px 10px;
    background-color: transparent !important;
    color: var(--thaw-font-color);
    font-size: inherit;
    line-height: 1.2;
    border: none;
    outline: none;
    resize: vertical;
}

.thaw-textarea__textarea-el::placeholder {
    color: var(--thaw-placeholder-color);
}
