.light-editor {
    background: var(--white-color);
    border: 1px solid var(--background-color);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 20px;
    width: 700px;
    max-width: 90%;
    font-size: 18px;
    /* overflow: scroll; */


    .editor-area {
        max-height: 45vh;
        width: 100%;
        font-size: 18px;
        border: none;
        outline: none;
        resize: none;
        background: var(--white-color);
        color: var(--primary-color);
        overflow-y: auto;
        overflow-x: hidden;
        text-align: left;
        /* start from left */
        padding: 8px 12px;
        /* optional padding */
        box-sizing: border-box;
    }

    .editor-placeholder {
        position: absolute;
        top: 8px;
        /* match editor padding */
        left: 12px;
        /* match editor padding */
        color: var(--primary-color);
        font-size: 20px;
        font-weight: 500;
        pointer-events: auto;
        white-space: pre-wrap;
    }


    .editor-area:empty:before {
        content: attr(aria-placeholder);
        color: var(--background-color);
        font-size: 20px;
        /* increase placeholder size */
        font-weight: 500;
        /* make it a bit bolder */
        pointer-events: none;
    }


    .editor-toolbar {
        margin-top: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    /* overlay placeholder */
    .editor-panel {
        position: relative;
    }



    /* .editor-area {
            padding: 12px;
            ensure text doesn't overlap placeholder
        } */

    .tool-btn {
        background: transparent;
        border: none;
        color: var(--primary-color);
        /* font-size: 18px; */
        cursor: pointer;
        border-radius: 4px;
        /* padding: 6px; */
        /* transition: transform 0.2s ease; */

    }


    .tool-btn:hover {
        transform: scale(1.1);
        background-color: var(--background-color);
        /* light subtle background */
    }


    .send-btn {
        background: var(--tertiary-color);
        border: none;
        color: var(--white-color);
        /* font-size: 18px; */
        cursor: pointer;
        border-radius: 4px;
        /* padding: 6px;
            transition: transform 0.2s ease; */

    }

    .send-btn:hover {
        opacity: 0.8;

    }

    .send-btn:active {
        transform: scale(0.97);
    }

    @media (max-width: 768px) {
        .light-editor {
            padding: 16px;
        }

        .editor-area {
            max-height: 25vh;
            font-size: 14px;
        }

        .tool-btn {
            font-size: 16px;
            padding: 4px;
        }

        .send-btn {
            width: 40px;
            height: 34px;
        }
    }
}