.rlr-txt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.rlr-txt-modal {
    position: fixed;
    background: #fff;
    width: 600px;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    left: calc(50% - 300px);
    top: 20%;
}

.rlr-txt-header {
    background: #333;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.rlr-txt-area {
    width: 100%;
    flex: 1;
    padding: 10px;
    font-family: monospace;
    border: none;
    outline: none;
    resize: none;
}

.rlr-txt-footer {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rlr-txt-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* Resize handles */
.rlr-resize-handle {
    position: absolute;
    background: transparent;
}
.rlr-resize-se {
    width: 14px;
    height: 14px;
    right: 0;
    bottom: 0;
    cursor: se-resize;
}
.rlr-resize-e {
    width: 8px;
    top: 0;
    bottom: 0;
    right: 0;
    cursor: e-resize;
}
.rlr-resize-s {
    height: 8px;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: s-resize;
}
