/* Root styles */
:not(.tiptap-error) .tiptap {
    padding-left: 15px;
    padding-right: 15px;
    background-color: transparent;
    border-radius: 8px;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    border-color: #e0e0e0;
    /* palette.neutral[200] */
    transition: border-color 0.3s, box-shadow 0.3s;
    /* Assuming muiTheme.transitions.create(["border-color", "box-shadow"]) translates to 0.3s for both */
}

.tiptap-error {
    background-color: transparent;
    border-radius: 8px;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    /* palette.neutral[200] */
    transition: border-color 0.3s, box-shadow 0.3s;
    
    border-color: #F04438;
    /* palette.primary.main */
    box-shadow: #F04438 0 0 0 2px;
    /* palette.primary.main */
}

.tiptap:hover {
    background-color: #f5f5f5;
    /* palette.action.hover */
}

.tiptap::before {
    display: none;
}

.tiptap::after {
    display: none;
}

:not(.tiptap-error) > .tiptap:focus {
    background-color: transparent;
    border-color: #8dba00;
    /* palette.primary.main */
    box-shadow: #8dba00 0 0 0 2px;
    /* palette.primary.main */
}

.ProseMirror:focus {
    outline: none;
}

/* Input styles */
/* .tiptap-input {
    font-size: 14px;
    font-weight: 500;
    line-height: 12px;
} */