/* Nimbus Context Menu Styles */

.nimbus-ctx-menu {
    position: fixed;
    z-index: 10000;
    min-width: 160px;
    max-width: 220px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 4px 0;
    display: none;
    font-size: 13px;
}

.nimbus-ctx-submenu {
    z-index: 10001;
}

.ctx-item {
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ctx-item:hover {
    background: var(--nimbus-blue, #003366);
    color: #fff;
}

.ctx-item:hover .glyphicon {
    color: #fff;
}

.ctx-item .glyphicon {
    font-size: 12px;
    color: #666;
    width: 16px;
    text-align: center;
}

.ctx-label {
    flex: 1;
}

.ctx-arrow {
    font-size: 10px;
    color: #999;
    margin-left: 8px;
}

.ctx-item:hover .ctx-arrow {
    color: #fff;
}

.ctx-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 4px 0;
}

.ctx-danger {
    color: #c0392b;
}

.ctx-danger:hover {
    background: #c0392b;
    color: #fff;
}

.ctx-disabled {
    color: #999;
    cursor: default;
    font-style: italic;
}

.ctx-disabled:hover {
    background: transparent;
    color: #999;
}

/* Submenu arrow indicator on parent item */
.ctx-item[data-submenu]:after {
    content: '';
}
