.netgrid-editor-toolbar {
    position: absolute;
    background-color: #282828;
    border: 1px solid #444;
    border-radius: 7px;
    padding: 4px 8px;
    display: none;
    z-index: 9999;
    transition: opacity 0.1s;
}

.netgrid-editor-toolbar::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #282828;
}

.netgrid-editor-toolbar button {
    background: none;
    border: none;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    padding: 6px;
    margin: 0 1px;
    border-radius: 5px;
    min-width: 30px;
}

.netgrid-editor-toolbar button:hover {
    background-color: #555;
}

@keyframes pulse-border {
    0% {
        border-color: #444;
    }
    50% {
        border-color: #aaa;
    }
    100% {
        border-color: #444;
    }
}

.netgrid-editor--active {
    height: auto !important;
    min-height: initial !important;
    border: 1px dashed #444;
    animation: pulse-border 2s infinite ease-in-out;
}

.netgrid-editor--active:focus {
    outline: none;
}

/* Link/Edit Choice Popup */
.netgrid-editor-link-popup {
    position: absolute;
    background-color: #282828;
    border: 1px solid #444;
    border-radius: 7px;
    padding: 5px;
    display: none;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.netgrid-editor-link-popup button {
    background: none;
    border: none;
    color: #fff;
    padding: 6px 10px;
    margin: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
}

.netgrid-editor-link-popup button:hover {
    background-color: #555;
}

/* SAVE/CANCEL BUTTONS */
.netgrid-editor-action-button {
    background: #282828;
    border: 1px solid #444;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    margin-left: 5px;
    cursor: pointer;
    line-height: 1;
}

.netgrid-editor-action-button:hover {
    background: #555;
}
