/* Menu contextuel copier / coller du planning */
.c-context-menu {
    position: fixed;
    z-index: 2000;
    min-width: 160px;
    padding: 4px;
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 43, .1), 0 4px 6px -4px rgba(15, 23, 42, .1);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.c-context-menu__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #1f2937;
    font-size: .875rem;
    text-align: left;
    cursor: pointer;
}

.c-context-menu__item i {
    width: 16px;
    text-align: center;
    color: #6b7280;
}

.c-context-menu__item:hover:not(.c-context-menu__item--disabled) {
    background-color: #f1f5f9;
}

.c-context-menu__item--disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

.c-context-menu__item--disabled i {
    color: #cbd5e1;
}

.c-context-menu__item--danger {
    color: #dc2626;
}

.c-context-menu__item--danger i {
    color: #dc2626;
}

.c-context-menu__item--danger:hover:not(.c-context-menu__item--disabled) {
    background-color: #fef2f2;
}

.c-context-menu__separator {
    height: 1px;
    margin: 4px 6px;
    background-color: #e1e8f0;
}

/* Notification « Revenir en arrière » après annulation */
.c-undo-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2100;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: #1f2937;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 43, .25), 0 4px 6px -4px rgba(15, 23, 42, .25);
    font-size: .875rem;
    animation: c-undo-toast-in .2s ease-out;
}

.c-undo-toast__message {
    display: flex;
    align-items: center;
    gap: 8px;
}

.c-undo-toast__button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: .8125rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.c-undo-toast__button:hover {
    background: rgba(255, 255, 255, .12);
}

@keyframes c-undo-toast-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

